Skip to content

Commit

Permalink
Merge pull request #162 from rmsamitha/master
Browse files Browse the repository at this point in the history
Fix duplicate event issue when data flow is slow
  • Loading branch information
AnuGayan authored Nov 2, 2023
2 parents 6daaef5 + 02df0fc commit e3c50f6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ void pause() {
}

void resume() {
restore();
paused = false;
try {
lock.lock();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -440,10 +440,8 @@ public void pause() {
public void resume() {
if (consumerKafkaGroup != null) {
consumerKafkaGroup.resume();
if (LOG.isDebugEnabled()) {
LOG.debug("Kafka Adapter resumed for topic(s): " + optionHolder.validateAndGetStaticValue
LOG.info("Kafka Adapter resumed for topic(s): " + optionHolder.validateAndGetStaticValue
(ADAPTOR_SUBSCRIBER_TOPIC));
}
}
}

Expand Down

0 comments on commit e3c50f6

Please sign in to comment.