I’m new to Akka streams, Are there any Java examples for streaming data from Kafka using Akka Stream and persisting Into Cassandra?
I’m having trouble deserializing JSON object. Anything wrong with below code?
final ObjectMapper mapper = new ObjectMapper();
final ObjectReader reader = mapper.readerFor(InventoryEvent.class);
But, When I try to deserialize the value, Its not displaying anything. It logs
[INFO] [02/27/2019 09:48:29.026] [inventory-akka-consumer-akka.actor.default-dispatcher-2] [akka://inventory-akka-consumer/system/kafka-consumer-1] Message [akka.kafka.KafkaConsumerActor$Stop$] from Actor[akka://inventory-akka-consumer/system/StreamSupervisor-0/$$a#1716334169] to Actor[akka://inventory-akka-consumer/system/kafka-consumer-1#345710968] was not delivered. [1] dead letters encountered. If this is not an expected behavior, then [Actor[akka://inventory-akka-consumer/system/kafka-consumer-1#345710968]] may have terminated unexpectedly, This logging can be turned off or adjusted with configuration settings ‘akka.log-dead-letters’ and ‘akka.log-dead-letters-during-shutdown’.