mimaison commented on code in PR #12432:
URL: https://github.com/apache/kafka/pull/12432#discussion_r934398926
##########
connect/mirror/src/main/java/org/apache/kafka/connect/mirror/MirrorCheckpointTask.java:
##########
@@ -306,9 +308,18 @@ Map<String, Map<TopicPartition, OffsetAndMetadata>>
syncGroupOffset() {
void syncGroupOffset(String consumerGroupId, Map<TopicPartition,
OffsetAndMetadata> offsetToSync) {
if (targetAdminClient != null) {
- targetAdminClient.alterConsumerGroupOffsets(consumerGroupId,
offsetToSync);
- log.trace("sync-ed the offset for consumer group: {} with {}
number of offset entries",
- consumerGroupId, offsetToSync.size());
+ AlterConsumerGroupOffsetsResult result =
targetAdminClient.alterConsumerGroupOffsets(consumerGroupId, offsetToSync);
Review Comment:
The Scheduler prints an `info` line each time it runs this:
```
INFO [MirrorCheckpointConnector|task-0] sync idle consumer group offset from
source to target took 0 ms (org.apache.kafka.connect.mirror.Scheduler:95)
```
So I'll leave it like this for now.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]