charleenklang opened a new issue, #1561:
URL: https://github.com/apache/camel-kafka-connector/issues/1561

   Hi,
   I am trying to backup Kafka topics to an s3 bucket and restore the data back 
to a Kafka topic.
   
   What I am observing is that the offset will be restored but all messages 
will be written to the same partition in the restored topic, even if they were 
in the original topic in different partitions.
   
   For example:
   
   If we consume from the original topic with kcat:
   ```
   % Reached end of topic kafkatopic-sample [0] at offset 4
   % Reached end of topic kafkatopic-sample [2] at offset 0
   % Reached end of topic kafkatopic-sample [1] at offset 9
   ```
   
   If we backup the data and restore it back to a new topic:
   ```
   % Reached end of topic kafkatopic-restore-test [1] at offset 13
   % Reached end of topic kafkatopic-restore-test [0] at offset 0
   % Reached end of topic kafkatopic-restore-test [2] at offset 0
   ```
   
   Is it possible to backup the partition and offset data as well?


-- 
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]

Reply via email to