We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
func (w *Writer) WriteMessage(ctx context.Context, msg kafka.Message) error { span := w.startSpan(ctx, &msg) err := w.W.WriteMessages(ctx, msg) if err != nil { span.RecordError(err) span.SetStatus(codes.Error, err.Error()) } span.End() return err } func (w *Writer) WriteMessages(ctx context.Context, msgs []kafka.Message) error { return w.W.WriteMessages(ctx, msgs...) }
We need to think about how to manage the span during batch producing. Maybe we can extract all related headers beforehand and publish them.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We need to think about how to manage the span during batch producing. Maybe we can extract all related headers beforehand and publish them.
The text was updated successfully, but these errors were encountered: