Storm is designed to run as a backend process, without user interaction – Messages have to be processed within a specific time or they “fail” or “timeout”, not a good premise for waiting for user input –
One option to consider is pushing the data that needs user interaction from your bolt to a Kafka queue and then use a UI app to perform user interaction – data can return to Kafka on a different queue once cleared and then another Storm topology can take that over and complete the flow - HTH, Mauro. From: Stepan Urban [mailto:[email protected]] Sent: Wednesday, December 6, 2017 4:31 AM To: [email protected] Subject: Swing or JavaFX GUI in Storm Bolt 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
