Skip to content
New issue

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

Offset Set function should allow Offset as parameter. #778

Closed
6 of 7 tasks
MatthL-SwiftC opened this issue May 5, 2022 · 0 comments · Fixed by #962
Closed
6 of 7 tasks

Offset Set function should allow Offset as parameter. #778

MatthL-SwiftC opened this issue May 5, 2022 · 0 comments · Fixed by #962

Comments

@MatthL-SwiftC
Copy link

MatthL-SwiftC commented May 5, 2022

Description

When using the Offset.Set function I'd expect to be able to pass a value of the Offset type such as the predefined constant OffsetBeginning, however only a string or int64 representation is valid.

How to reproduce

Use Offset.Set with one of the predefined Offset constants.

Checklist

Please provide the following information:

  • confluent-kafka-go and librdkafka version (LibraryVersion()): master
  • Apache Kafka broker version: N/A
  • Client configuration: N/A
  • Operating system: N/A
  • Provide client logs (with "debug": ".." as necessary) N/A
  • Provide broker log excerpts N/A
  • Critical issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants