Skip to content

It is not possible to configure some Kafka consumer properties #1320

@bpgergo

Description

@bpgergo

Properties of the new Kafka consumer configs cannot be set in the application descriptor json.

While running my topology, I got the following error (it was in the Storm worker log):

org.apache.kafka.clients.consumer.CommitFailedException: Commit cannot be completed since the group has already rebalanced and assigned the partitions to another member. This means that the time between subsequent calls to poll() was longer than the configured max.poll.interval.ms, which typically implies that the poll loop is spending too much time message processing. You can address this either by increasing the session timeout or by reducing the maximum size of batches returned in poll() with max.poll.records. at org.apache.kafka.clients.consumer.internals.ConsumerCoordinator$OffsetCommitResponseHandler.handle(ConsumerCoordinator.java:770) at

My problem is, I couldn't find a way to adjust these properties of the Kafka consumer: max.poll.interval.ms or session.timeout.ms.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions