The only ports that it eats in local mode is for zookeeper (it spins up a single node ZK instance to talk to). The communication between workers is all done through https://github.com/apache/storm/blob/master/storm-client/src/jvm/org/apache/storm/messaging/local/Context.java unless you explicitly turn it off through some special incantations intended only for internal testing of storm.
- Bobby On Wednesday, July 19, 2017, 11:17:23 AM CDT, Alexandre Vermeerbergen <[email protected]> wrote: Hi Bobby, I'd like to limit ports usage for our unit tests. But yeah, even Storm's Local mode eats some ports, isn't it ? Best regards, Alexandre 2017-07-19 18:02 GMT+02:00 Bobby Evans <[email protected]>: Are you doing an integration test? If so why not setup a KafkaBroker it would be a more correct test? You could alternatively replace them with test bolts and test spouts so you can verify what it happening, but then it is not as much of an integration test. - Bobby On Wednesday, July 19, 2017, 10:58:02 AM CDT, Alexandre Vermeerbergen <[email protected]> wrote: Hello, Is there a recommended way for testing topologies relying on storm-kafka-client spouts & bolts? Ideally, I'like to do it without setting up a KafkaBroker server, if possible. Best regards, Alexandre Vermeerbergen
