Skip to content

WriteErrors don't return the actual error #957

@mhmtszr

Description

@mhmtszr

Describe the bug

We can't see the actual errors of our batch write request. It creates new error and this error does not contain any information about the error return fmt.Sprintf("kafka write errors (%d/%d)", err.Count(), len(err)). We need to see the detail of the error.

Kafka Version

  • github.com/segmentio/kafka-go v0.4.29

To Reproduce

Get any error while processing the batch write request.

Expected Behavior

We need to see the detail of the error.

Observed Behavior

We can't see the actual error we only see the count of the errors.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions