Update:
Found a workaround by setting fromBeginning: false for the consumer on the destination cluster. Not a best solution but it works...
For some reason all consumer group offsets not replicated to destination cluster. For example I started a consumer on source cluster with consumer group TEST (all messages are pulled) then I started a consumer (with consumer group TEST) on the same topic that was replicated into destination cluster, the result is that both consumers got all message.
I read about consumer-offset-translation-feature but didn't made it work.
Consumer Config:
bootstrap.servers=sourceKafkaEndpoint:9092
interceptor.classes=io.confluent.connect.replicator.offsets.ConsumerTimestampsInterceptor
Producer Config:
bootstrap.servers=destKafkaEndpoint:9092
Replicator Config:
connector.class=io.confluent.connect.replicator.ReplicatorSourceConnector
auto.offset.reset=latest
topic.config.sync=false
config.action.reload=none
Executable Command:
replicator --consumer.config consumer.properties --producer.config producer.properties --replication.config replication.properties --topic.regex ".*" --cluster.id replicator
Kafka Info:
Source cluster Kafka version: 2.0.1-cp4
Destination cluster Kafka version: 2.4.1
any ideas?