Closed yakirSalt closed 2 months ago
I understand why the retry won't work with PollFetches
, as it will fetch all new records to be managed and will wait until new records are arrive.
So is there a way that I can re-process uncommitted records by polling the topic?
No, and this is a common question I should probably move to a FAQ somewhere. This last came up in this repo here: https://github.com/twmb/franz-go/issues/440, but has come up in Slack/Discord as well. You can manually rewind with SetOffsets but it's finicky. My recommendation is to stay on the current record until you successfully process it or, if that's untenable, reproduce it to a dead letter queue for after-the-fact follow up.
I don't use the kotel endpoint myself, but know that others have successfully. I don't think I can answer this one. Tagging @brunsgaard to take a quick glance if he has time but I know he's also busy.
hey @twmb, thanks for the clarification about question 1! knowing it's not supported also helps
@twmb anyone who can help me Kotel?
I'll also tag @yianni perhaps but honestly, I'm not positive. kotel
seems to work fine for other users so I'd suspect it's something on the ingestion side, or configuration for how to send?
Hi @yakirSalt! Quick note to confirm Jaeger and Kotel do work together. It seems the issue could be what @twmb pointed out. Maybe a quick config check could help? Cheers
This issue looks to be resolved; kotel integration looks to be a configuration setup issue perhaps.
Hi,
I have 2 issues, one with batch and retry of records using group consumer, the second with making
kotel
work. I'm trying to understand how can I configure Batch fetch with group consumer, and for the messages that are not committed manually due to some logical error (AutoCommit is disabled) - retry the business logic.Client configuration:
A pseudo code example:
There are a few issues I encountered:
So I have 2 questions:
client.PollRecords
withkgo.BlockRebalanceOnPoll
andclient.AllowRebalance
but didn't really understand that, nor was I sure it's what I needed.kotel
, but I just couldn't make it work. my local Jaeger didn't get any traces.Example of the code I tried to use when implementing
kotel
, I used the example fileexamples/hooks_and_logging/plugin_kotel/main.go
: