-
Notifications
You must be signed in to change notification settings - Fork 94
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
IGNITE-22441 Add parameter object to Data Streamer #3971
Conversation
* @return This builder. | ||
*/ | ||
public Builder units(List<DeploymentUnit> units) { | ||
this.units = units; |
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.
Shall we copy List?
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.
We don't copy in JobDescriptor
. Also, units()
property exposes a mutable List
, so we would need to copy there as well for full protection. I don't think it's worth it, let's keep as is for now.
ReceiverDescriptor
parameter object to Data Streamer similar toJobDescriptor
in Compute API.DataStreamerOptions
are not included inReceiverDescriptor
, because semantically they are not related: options affect client-side streaming logic, and do not affect the receiver.https://issues.apache.org/jira/browse/IGNITE-22441