Skip to content

Bug Hotfix: consumer poll blocked & FetchResponse cast error#4858

Closed
koqizhao wants to merge 8 commits intoapache:trunkfrom
koqizhao:hotfix-consumer-poll-blocked
Closed

Bug Hotfix: consumer poll blocked & FetchResponse cast error#4858
koqizhao wants to merge 8 commits intoapache:trunkfrom
koqizhao:hotfix-consumer-poll-blocked

Conversation

@koqizhao
Copy link
Copy Markdown

  1. fix bug: consumer poll(timeout) blocked infinitely when no available bootstrap server
  2. fix bug: FindCoordinatorResponse cannot be cast to FetchResponse

@koqizhao
Copy link
Copy Markdown
Author

koqizhao commented Apr 12, 2018

bug "consumer poll blocked" is found in 0.10.x versions in:
https://issues.apache.org/jira/browse/KAFKA-5065
but fix of 5065 is out of date, cannot be applied to 1.1.0.

Yesterday I found it in 1.1.0 as well and made a fix.

omkreddy and others added 8 commits April 12, 2018 19:50
KIP: https://cwiki.apache.org/confluence/display/KAFKA/KIP-222+-+Add+Consumer+Group+operations+to+Admin+API

Author: Jorge Quilcate Otoya <quilcate.jorge@gmail.com>
Author: Jorge Esteban Quilcate Otoya <quilcate.jorge@gmail.com>
Author: Guozhang Wang <wangguoz@gmail.com>

Reviewers: Colin Patrick McCabe <colin@cmccabe.xyz>, Guozhang Wang <wangguoz@gmail.com>

Closes apache#4454 from jeqo/feature/admin-client-describe-consumer-group
…he#4852)

Reviewers: Manikumar Reddy O <manikumar.reddy@gmail.com>, Jason Gustafson <jason@confluent.io>
…pache#4450)

AsyncProducerTest gets an error about an incorrect mock when the logging
level is turned up.  Instead of usIng a mock, just create a real
SyncProducerConfig object, since the object is simple to create.

Reviewers: Ismael Juma <ismael@juma.me.uk>
…pId (apache#4851)

We had a regression in apache#4788 which caused the offset commit/fetch/describe APIs to fail if the groupId was empty. This should be allowed for backwards compatibility. Additionally, I have modified DeleteGroups to allow removal of the empty group, which was missed in the initial implementation. I've added a test case to ensure that we do not miss this again in the future.

Reviewers: Ismael Juma <ismael@juma.me.uk>
This change makes adding a metric to a sensor idempotent.
That is, if the metric is already added to the sensor, the method
returns with success.

The current behavior is that any attempt to register a second metric
with the same name is an error.

Testing strategy: There is a new unit test covering this behavior

Reviewers: Guozhang Wang <guozhang@confluent.io>, Bill Bejeck <bill@confluent.io>
bootstrap server
fix bug: FindCoordinatorResponse cannot be cast to FetchResponse
@koqizhao koqizhao force-pushed the hotfix-consumer-poll-blocked branch from ce4ba84 to 2410c4e Compare April 12, 2018 14:47
@koqizhao koqizhao closed this Apr 12, 2018
@koqizhao koqizhao deleted the hotfix-consumer-poll-blocked branch April 12, 2018 15:09
@koqizhao koqizhao restored the hotfix-consumer-poll-blocked branch April 12, 2018 15:11
@koqizhao koqizhao deleted the hotfix-consumer-poll-blocked branch April 12, 2018 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants