bijukunjummen/sample-webflux-annot-cassandra

hotels_by_letter is not updated

Opened this issue · 0 comments

Hi bijukunjummen,
Thanks for your great tutorial. Even if i totaly understood how it works, it seems that there is an issue when i run the use case. The second table stays empty on my side.

cqlsh:sample> select * from hotels;
id | address | name | state | zip
--------------------------------------+-----------+-------------------+-------+-------
478859ef-3527-435f-866c-d014c97ade62 | Address 3 | C Sample Hotel | OR | 10001
...
0200a5ba-ceda-4f45-9248-3baefb49afd8 | Address 4 | A Sample Hotel 2 | WA | 00001

(6 rows)
cqlsh:sample> select * from hotels_by_letter ;

first_letter | hotel_name | hotel_id | address | state | zip
--------------+------------+----------+---------+-------+-----
(0 rows)

I just replace cassandra instructions by docker's image.
docker run --name cassandra -p 9042:9042 -d cassandra:3.11
docker run -it --link cassandra:cassandra --rm cassandra cqlsh cassandra

no errors logs on console.