-
Notifications
You must be signed in to change notification settings - Fork 10
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
AsyncIterator Support #66
Conversation
10c4cd1
to
3b01d38
Compare
64754c2
to
b51f78e
Compare
src/fluvio.test.ts
Outdated
|
||
const offsetIndex = 0 | ||
const consumer = await fluvio.partitionConsumer(topic, partition) | ||
const stream = await consumer.getIterator(Offset.FromBeginning()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should make this consistent with the Rust API and say consumer.stream(Offset)
instead of calling it getIterator
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah... the chat bot code depends on the closure version of stream. I agree though.
b51f78e
to
2116ba2
Compare
2116ba2
to
e7a8a2d
Compare
closes #66. This has some work around for some missing features in node-bindgen.