if kafka producer client app crashes, does kafka server cleanup server side resources

2021-11-29 Thread Pushkar Deole
Hi All, I am wondering what would happen if the producer app crashes without calling producer.close, in this case would kafka server take care of cleaning up resources allocated on kafka server/broker for those producers? Or whether those resources be leaked on server side and How does kafka serve

Kafka Streams - left join behavior

2021-11-29 Thread Miguel González
Hello I have been developing a Kafka Streams app that takes as input two topics as KStreams, processes them in some way and joins them and sends the combined message to an output topic. Here's some code, final StreamJoined joinParams = StreamJoined.with( STRING_SERDE, StreamS

Kafka last produced and committed offsets during rebalancing.

2021-11-29 Thread Mazen Ezzeddine
Dear all, The below code snippet uses kafka admin client to retrieve the last committed and produced offsets of all partitions for a certain consumer group namely CONSUMER_GROUP : Map offsets = admin.listConsumerGroupOffsets(CONSUMER_GROUP).partitionsToOffsetAndMetadata().get(); Map requestL