-
Notifications
You must be signed in to change notification settings - Fork 8
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: Bidirectional streaming for source transformer #91
Conversation
Signed-off-by: Sreekanth <prsreekanth920@gmail.com>
Signed-off-by: Sreekanth <prsreekanth920@gmail.com>
|
||
const DEFAULT_MAX_MESSAGE_SIZE: usize = 64 * 1024 * 1024; | ||
const DEFAULT_SOCK_ADDR: &str = "/var/run/numaflow/sourcetransform.sock"; | ||
const DEFAULT_SERVER_INFO_FILE: &str = "/var/run/numaflow/sourcetransformer-server-info"; | ||
const DEFAULT_CHANNEL_SIZE: usize = 1000; | ||
|
||
const DROP: &str = "U+005C__DROP__"; | ||
|
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.
pub mod proto
rename proto
to sourcetransformer_pb
?
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 don't think that is needed since the it's absolute name (crate::sourcetransform::proto
) already makes the namespacing clear.
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.
@yhl25 had some opinions on this.
src/sourcetransform.rs
Outdated
return Err(Status::invalid_argument("Handshake not present")); | ||
} | ||
|
||
let handle: JoinHandle<Result<(), Error>> = tokio::spawn({ |
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.
please document your though
Signed-off-by: Sreekanth <prsreekanth920@gmail.com>
Signed-off-by: Sreekanth <prsreekanth920@gmail.com>
Signed-off-by: Sreekanth <prsreekanth920@gmail.com>
Signed-off-by: Sreekanth <prsreekanth920@gmail.com>
Signed-off-by: Sreekanth <prsreekanth920@gmail.com>
Signed-off-by: Sreekanth <prsreekanth920@gmail.com>
Part of numaproj/numaflow#2046
Related PRs:
numaproj/numaflow-go#147
numaproj/numaflow#2071