Skip to content

[Bug] Transactional messages are not geo-replicated correctly #18888

Closed

Description

@nicoloboschi

Search before asking

  • I searched in the issues and found nothing similar.

Version

Master, 2.11.0

Minimal reproduce step

  1. Enable transactions and replication on a namespace
  2. Write a simple message within a transaction
  3. Attach a consumer to the replicated topic.

The consumer can't consume messages and it's stuck forever

What did you expect to see?

The replicator should replicate the transactional messages removing all the metadata related to the transaction.
The fact the messages were produced within a transaction is not relevant in the second cluster.

Also the TXN markers are useless and they should not be sent.

What did you see instead?

The messages metadata contains the txId and the txn markers are sent by the replicator producer.

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Activity

  1. added
    type/bug
    on Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/transactiontype/bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions