We are using the latest version of the Couchbase Kafka connector 4.2.1 and noticed all partitions are being rolled back.
Below is an example for one of the partitions (partition=380).
The resume from offset are as follows for partition 380:
bucket=data1
partition=380
vbuuid=76884041696838
collectionsManifestUid=0
snapshotEndSeqno=3397918
bySeqno=3397918
snapshotStartSeqno=3397918
After starting the connector, we received warning:
Received rollback for vbucket 380 to seqno 0 ; requested start offset was: partitionUuid = 76884041696838, seqno = 3397918, snapshot = [3397918-3397918], collectionManifestUid = 0
After a few minutes of letting the connector run, we observe the offset for this partition as:
bucket=data1
partition=380
vbuuid=76884041696838
collectionsManifestUid=0
snapshotEndSeqno=4023378
bySeqno=4096
snapshotStartSeqno=0
Comparing the “resume from” and “current” offsets for partition 380, we identified the “vbuuid” value remained the same. Why would a rollback be requested for this partition by kafka connector?
The couchbase server is on version=Couchbase 7.1.4-3601-enterprise 7.1.4