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

feat: Stream mapper implementation of MapStreamBatchFn. Fixes #1688 #1707

Closed
wants to merge 1 commit into from

Conversation

magelisk
Copy link
Contributor

This implements backend for updated stream mapper (MapStreamBatchFn) implemented here: numaproj/numaflow-go#129

It allows stream mapper to have readBatchSize > 1.

  • If readBatchSize == 1, the capability today is executed as-is
  • if readBatchSize >= 1, the newer interface will be used.

Individual langauge servicers can be implemetned to have the default handler for MapStreamBatchFn simply iterate over the one-item implementation so that it should be completely backwards compatible for everyone. But now those who wish to implement handling more than datum item at a time, the capability is now exposed

Fixes: #1688 and partial fix of #1564

…s at once enabling batch processing of mapped items
@magelisk
Copy link
Contributor Author

This is not relevant based on other designs that are expected. Closing

@magelisk magelisk closed this Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Batch Mapping & Sink
1 participant