Skip to content
Advertisement

Tag: apache-kafka

kafka producer does not throw exception when broker is down

Created a cluster with two brokers using same zookeeper and trying to produce message to a topic whose details are as below. When the producer sets acks=”all” or -1,min.insync.replicas=”2″, it is supposed to receive acknowledgement from the brokers(leaders and replicas) but when one broker is shut manually while it is producing, it is making no difference to the kafka producer

Serde String[] in Kafka

I’m new in kafka. I am using the store builder and want to have a String[] of two elements as the value associated to the key. I set up the store like this: When I call the method to have the data into the store : I receive this error: I should set the store like this: but I don’t

Kafka Consumer stuck at deserialization

I created a simple producer-consumer app that using a custom Serializer and Deserializer. After adding a new method to the Message class that I produce, the consumer started being stack at deserialization. My producer is using the new class (with the new method) and the consumer is using the old class (without the method). I didn’t add any new data

2 consecutive stream-stream inner joins produce wrong results: what does KStream join between streams really do internally?

The problem setting I have a stream of nodes and a stream of edges that represent consecutive updates of a graph and I want to build patterns composed of nodes and edges using multiple joins in series. Let’s suppose I want to match a pattern like: (node1) –[edge1]–> (node2). My idea is to join the stream of nodes with the

To close or to not close RocksDB Cache and WriteBufferManager in kafka streams app

I am currently playing around with a custom RocksDB configuration in my streams app by extending RocksDBConfigSetter interface. I see conflicting documentation around closing cache & writeBufferManager instances. Right now, I see that the javadoc & one of the documentation page suggests that we need to close all the instances that extend RocksObject (both Cache & WriteBufferManager instances extend this

Advertisement