Skip to content

KAFKA-2748: Ensure sink tasks commit offsets upon rebalance and rewind if the SinkTask flush fails.#431

Closed
ewencp wants to merge 2 commits intoapache:trunkfrom
ewencp:kafka-2748-sink-task-rebalance-commit
Closed

KAFKA-2748: Ensure sink tasks commit offsets upon rebalance and rewind if the SinkTask flush fails.#431
ewencp wants to merge 2 commits intoapache:trunkfrom
ewencp:kafka-2748-sink-task-rebalance-commit

Conversation

@ewencp
Copy link
Copy Markdown
Contributor

@ewencp ewencp commented Nov 5, 2015

Also fix the incorrect consumer group ID setting which was giving each task its
own group instead of one for the entire sink connector.

…d if the SinkTask flush fails.

Also fix the incorrect consumer group ID setting which was giving each task its
own group instead of one for the entire sink connector.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment: no returns for this function.

@guozhangwang
Copy link
Copy Markdown
Contributor

LGTM, one minor comment.

@asfgit asfgit closed this in a455177 Nov 5, 2015
hachikuji pushed a commit to hachikuji/kafka that referenced this pull request Nov 3, 2020
* Add CurrentState to BrokerHeartbeatRequest

* Create BrokerLifecycleManager

* Create BrokerLifecycleManagerTest, ControllerApisTest
sutambe pushed a commit to sutambe/kafka that referenced this pull request Feb 23, 2023
TICKET = N/A
EXIT_CRITERIA = When we have better metrics exposed and no longer need to get it via log parsing
LI_DESCRIPTION = An internal dashboard depends on extracting information from instances of this logline.  Changing the format may break the parsing.
davide-armand pushed a commit to aiven/kafka that referenced this pull request Dec 1, 2025
SDK instances were separated by component to avoid
sharing the same connection pools
08bd9f5
--this lead inadvertently to metrics not being
exported as the same MBeans were created multiple
times.
To fix this, this change creates a single
instance statically, and is reused across instances.

This has another side effect on how metrics are
tested: metrics are now shared across tests
(as it is created statically) this leads to results
being accumulate, and affecting other tests if metrics
are closed. To workaround this, metric sensors
are removed to restart the metrics (similar pattern
to yammer metrics used in other places within the
broker).

As a note for further improving how metrics are
collected: Redefining this would require
further refactoring to only create a single
metrics per broker or similar.
jeqo added a commit to aiven/kafka that referenced this pull request Jan 16, 2026
SDK instances were separated by component to avoid
sharing the same connection pools
08bd9f5
--this lead inadvertently to metrics not being
exported as the same MBeans were created multiple
times.
To fix this, this change creates a single
instance statically, and is reused across instances.

This has another side effect on how metrics are
tested: metrics are now shared across tests
(as it is created statically) this leads to results
being accumulate, and affecting other tests if metrics
are closed. To workaround this, metric sensors
are removed to restart the metrics (similar pattern
to yammer metrics used in other places within the
broker).

As a note for further improving how metrics are
collected: Redefining this would require
further refactoring to only create a single
metrics per broker or similar.
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.

2 participants