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
I follow the samples in the repository to create a consumer. But I wonder why we need the default case here? Perhaps we don't need default at all? will the e in the fmt.Printf("Ignored %v\n", e) print the pointer or real value? cause the kafka.Event might be a pointer *kafka.Message or a real value kafka.Error.
How to reproduce
Checklist
Please provide the following information:
confluent-kafka-go and librdkafka version (LibraryVersion()):
Apache Kafka broker version:
Client configuration: ConfigMap{...}
Operating system:
Provide client logs (with "debug": ".." as necessary)
Provide broker log excerpts
Critical issue
The text was updated successfully, but these errors were encountered:
Description
I follow the samples in the repository to create a consumer. But I wonder why we need the default case here? Perhaps we don't need
default
at all? will thee
in thefmt.Printf("Ignored %v\n", e)
print the pointer or real value? cause thekafka.Event
might be a pointer*kafka.Message
or a real valuekafka.Error
.How to reproduce
Checklist
Please provide the following information:
LibraryVersion()
):ConfigMap{...}
"debug": ".."
as necessary)The text was updated successfully, but these errors were encountered: