You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 16, 2023. It is now read-only.
It shows many settings and also a demo code, but in which file to write these settings?
The code: WorkerAssignment worker = new WorkerAssignment(); worker.addComponent(String compenentName, Integer num); //Add a task on this worker worker.setHostName(String hostName); //force this worker on one machine worker.setJvm(String jvm); //this can be skipped, set jvm parameters of this worker worker.setMem(long mem); //this can be skipped, set the worker's memory size worker.setCpu(int slotNum);
Where should I put them? Shall I put them in the topology code?
I am really confused by the document
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In the document: http://jstorm.io/ProgrammingGuide/AdvancedUsage/UserDefined/Scheduler.html
It shows many settings and also a demo code, but in which file to write these settings?
The code:
WorkerAssignment worker = new WorkerAssignment(); worker.addComponent(String compenentName, Integer num); //Add a task on this worker worker.setHostName(String hostName); //force this worker on one machine worker.setJvm(String jvm); //this can be skipped, set jvm parameters of this worker worker.setMem(long mem); //this can be skipped, set the worker's memory size worker.setCpu(int slotNum);
Where should I put them? Shall I put them in the topology code?
I am really confused by the document
The text was updated successfully, but these errors were encountered: