Last active
February 3, 2023 08:12
-
-
Save isopropylcyanide/a14cdd93005335b46339245795b2d708 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Find the partition that contains messages from this connector name. Usually by grepping | |
kafkacat -C -Z -b localhost -t <connect.offsets.topics> -o <number> | grep "servername" | |
# Set an null offset. | |
echo '["<connector-name",{"server":"<servername>"}]|' \| | |
kafkacat -P -Z -b localhost -t <connect.offsets.topics> -K \| | |
-p <partition> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment