connection_close_rate is high #4014
Unanswered
amankothari04
asked this question in
Q&A
Replies: 1 comment
-
its because of fluent/fluent-plugin-kafka#454 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am writing from around 1000 servers to AWS MSK using this plugin. They write continuously throughout the day.
I see the
aws.kafka.connection_creation_rate
metric graph and theaws.kafka.connection_close_rate
metric graph are the same and are pretty high (Around 500 connections are made and killed every 1 minute). Ideally, I would expect a connection to be made and never close as the servers are writing continuously to Kafka.I tried to reproduce the same on another similar Kafka cluster.
I produced messages using the "kafka-producer-perf-test.sh" script that comes with Kafka.
(I basically ran the script in a for-loop for 1000 times)
I made sure that the "message_in_per_sec" and "bytes_in_per_sec" was, if not the same, at least more than my older (problematic) cluster.
But the "connection_close_rate" is just 25 (not as high as the problematic cluster).
The CPU is also half of what I see on the older cluster.
Can anyone help me understand why I see such a high connection_close_rate on my first cluster?
Here is my plugin config:
Beta Was this translation helpful? Give feedback.
All reactions