You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically, I tried consuming as a new consumer group from a topic which had deleted messages (offset > 0). The consumer would get stuck at reading from the topic.
I also tried using segmentio with the following configurations :
Setting the start offset to StartOffset: kafka.FirstOffset with the value of -2 , stuck at ReadMessage
Setting the read offset to 131658 using SetOffset , stuck at ReadMessage
Setting the read offset to 131701 using SetOffset , was able to read the message from the topic
I used rpk topic describe <topic_name> -p to get the first offset and tried rpk consume topic using the given offset but still nothing. rpk topic describe returns LOG-START-OFFSET with the value 131658 , consuming from that offset doesn't return anything, I had to go to offset 131701 to be able to start consuming the messages from that topic.
Tried different clients (kafka-ui, franz-go, segmentio, rpk consume) with no luck. Am I missing something related to the topic or broker configuration?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I opened an issue regarding this
#12549
rpk topic describe
rpk topic consume
Basically, I tried consuming as a new consumer group from a topic which had deleted messages (offset > 0). The consumer would get stuck at reading from the topic.
I also tried using segmentio with the following configurations :
I used
rpk topic describe <topic_name> -p
to get the first offset and triedrpk consume topic
using the given offset but still nothing. rpk topic describe returnsLOG-START-OFFSET
with the value 131658 , consuming from that offset doesn't return anything, I had to go to offset 131701 to be able to start consuming the messages from that topic.I'm using v23.1.9 (rev ad7b596)
Tried different clients (kafka-ui, franz-go, segmentio, rpk consume) with no luck. Am I missing something related to the topic or broker configuration?
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions