Storm is not designed for this type of use case. Storm is set up for distributed processing on multiple nodes. A GUI running inside a bolt is not something we really ever thought about. If you need to interact with a user typically you will have some external state store, like a SQL DB or Zookeeper. The bolt and the GUI can interact with each other over that, but it should not be blocking. Asking a user a question about each tuple that needs to be processed is not going to really work in storm, not sure if you are doing this or not. What I have seen work are people that want to trigger things in their topology like fail out of coloA for storing results for the next 5 hours.
- Bobby On Wed, Dec 6, 2017 at 6:31 AM Stepan Urban <[email protected]> wrote: > Hello, > is it possible to use java Swing or JavaFX GUI in bolt? I need user > interaction with bolt. In local mode there is no problem but how to solve > it eg. on a single computer in cluster mode? > > Thanks > Stepan >
