This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix][transaction] Use pulsar format when write marker to __consumer_…
…offsets topic (#1994) ### Motivation We should use pulsar format to encode the marker when writing into the `__consumer_offsets` topic, otherwise it will have the following errors: ``` 2023-08-09T09:17:18,398+0000 [pulsar-client-io-69-3] ERROR org.apache.pulsar.client.impl.ConsumerImpl - [public/__kafka/__consumer_offsets-partition-42][reader-ca0ccccd79] Discarding corrupted message at 6:5 2023-08-09T09:17:18,402+0000 [pulsar-client-io-69-3] WARN org.apache.pulsar.client.impl.ConsumerImpl - [reader-ca0ccccd79] [98942] unable to obtain message in batch java.lang.IllegalStateException: java.lang.IllegalStateException: Some required fields are missing ``` ### Modifications Use pulsar format when write marker to __consumer_offsets topic
- Loading branch information