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

Features nice to have #24

Open
bdamian opened this issue Oct 8, 2019 · 2 comments
Open

Features nice to have #24

bdamian opened this issue Oct 8, 2019 · 2 comments

Comments

@bdamian
Copy link
Collaborator

bdamian commented Oct 8, 2019

eager initialization

A single task is used only in context of a single subpartition. A suggestion is to provide all arguments during task creation – methodWorkerTaskFactory::createTask(...) instead of during later init call.

@bdamian
Copy link
Collaborator Author

bdamian commented Oct 8, 2019

topic's configuration parameters

In multiple projects we have some configuration parameters specific to a topic. It would be very convenient to get those parameters when a task is instantiated.

@bdamian
Copy link
Collaborator Author

bdamian commented Oct 8, 2019

contexts

Related to eager initialization.
Provide an immutable context to a task during construction. A context consists of multiple information and decreases possible memory footprint of a task, because many objects like WorkerSubpartition may be reused and shared during application life.

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

No branches or pull requests

1 participant