Useful Kafka matrices
For useful monitoring and performance measures, we need to have certain matrices, and we will talk about those matrices in this section.
We will look into the matrices of Kafka cluster component in detail. The matrices are as follows:
- Kafka producer matrices
- Kafka broker matrices
- Kafka consumer matrices
Producer matrices
Producers are responsible for producing data to Kafka topics. If the producer fails, the consumer will not have any new messages to consume and it will be left idle. The performance of the producer also plays an important role in achieving high throughput and latency. Let's look into a few important matrices of Kafka producer:
- Response rate: The producer sends records to the Kafka broker, and the broker acknowledges when a message is written to a replica in case of a request. Required
.acks
is set to -1. The response rate depends on the value assigned to this property. If set to, -0, the broker will immediately return a response when it receives a request...