Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kafka input plug-in skip reading from single partition from assigned topic #338

Open
patelprakashp opened this issue May 20, 2021 · 0 comments
Labels

Comments

@patelprakashp
Copy link

Logstash information:

Please include the following information:

  1. Logstash version : 6.8.14
  2. Logstash installation source : Docker
  3. How is Logstash being run : Docker
  4. How was the Logstash Plugin installed: Default
  5. Kafka-Input Plug-in : 9.1.0
  6. Kafka client : 2.3.0

I have logstash running on Kubernetes and consuming events from 100+ topics.Each topic have 3+ partitions. Thus Single consumer group subscribed to 100+ topics and consumes events from 500+ partitions. Below are the Kafka input configuration.I am running 10 instances of logstash on kubernetes so total 100 consumer threads consuming from 500 partitions.

auto_offset_reset => "earliest"
enable_auto_commit => "true"
group_id => "test_logstash"
consumer_threads => "10"
max_poll_records => "500"
heartbeat_interval_ms => "9000"
session_timeout_ms => "30000"
fetch_max_bytes => "10485760"
max_partition_fetch_bytes => "524288"
client_id => "test_logstash"
decorate_events => true
partition_assignment_strategy => "org.apache.kafka.clients.consumer.RoundRobinAssignor"

Kafka consumer stops reading data from single partition although its subscribed and assigned to consumer group.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant