We are planning to use 3 kafka-brokers and a zookeeper node. We have kept one partition for each topic. But we have a stringent requirement of latency under 5ms. We are using reactive-kafka client library https://github.com/akka/reactive-kafka.
e.g.…
I am using Scala 2.11 and Akka Streams Kafka 0.17.
I have a stream where:
A Source is created using Source.actorRef. Here, the actor is scheduled to run at some regular interval and generate messages continuously, which are emitted to the…
I'd like to parallelize the write to kafka, that is having multiple producer sending data to kafka, although from within an akka-stream. In other my stream would have several initial stage from the source, and then when arriving at sending the data,…
I am trying to implement simple service that pulls messages from kafka wraps them in some data and sends to external service.
What is the common pattern for handling external service unavailabilty when processing message?
So far I am manually…
I'm receiving a file as a Bytestring from Kafka Reactive Streams consumer, which I want to send to a service.
Is there a away to extract Source[Bytestring, Any] from Kafka Reactive Stream Consumer, so that I can chain the stream from Kafka to…
im using spring reactive kafka to create a consumer but retry logic is not working when there is an exception.
@EventListener(ApplicationReadyEvnt.class)
public void…
I am trying to do manual offset commit in following way:
val receiver: KafkaReceiver
val sender: KafkaSender
val flux = receiver.receive() // from one message, I am creating Flux of items which are transformed and then send to another topic
…
May I know how to implement dead letter queue example for the below code? The same input record should be published to some dlq topic.
reactiveKafkaConsumerTemplate
.receiveAutoAck()
.map(ConsumerRecord::value)
…
I have a reactive stream that gets some data, loops through the data, processes the data, finally writes the data to Kafka
public Flux sendData(){
Flux.fromIterable(o.getC()).publishOn(Schedulers.boundedElastic())
…
Am exploring reactive kafka and just wanted to confirm if reactive kafka is equivalent to sync producer. With sync producer, We get message delivery guarantee with ACK all and producer sequence is maintained. But, delivery and sequencing is not…
I am getting the data from messageHandler(kafka) and processing it via servicehandler to give me some result
serviceHandler.process(message).getMessage().toString()
Now I need to output this stream of results so that whenever a new record comes…
I am seeing issue whereby after some time, randomly, consumers stop consuming message from a topic and there's no error that was thrown. There's not many message in the topic because this is a test environment.
The consumer lag for that topic would…