sentry
sentry copied to clipboard
fix(eventstream): Add a call to `producer.poll` prior to forwarding trace items to EAP
Resolves SENTRY-FOR-SENTRY-E07.
Adds a call to producer.poll prior to forwarding trace items to EAP. This ensures that the local buffer is properly cleared once the Kafka broker acknowledges produced messages.