use of io.camunda.zeebe.transport.impl.AtomixClientTransportAdapter in project zeebe by camunda.
the class QueryApiIT method setup.
@Before
public void setup() {
serverAddress = NetUtil.toSocketAddressString(broker.getBrokerCfg().getNetwork().getCommandApi().getAddress());
final var messagingService = new NettyMessagingService(broker.getBrokerCfg().getCluster().getClusterName(), Address.from(SocketUtil.getNextAddress().getPort()), new MessagingConfig());
clientTransport = new AtomixClientTransportAdapter(messagingService);
actor.submitActor((AtomixClientTransportAdapter) clientTransport).join();
messagingService.start().join();
}
use of io.camunda.zeebe.transport.impl.AtomixClientTransportAdapter in project zeebe by camunda-cloud.
the class QueryApiIT method setup.
@Before
public void setup() {
serverAddress = NetUtil.toSocketAddressString(broker.getBrokerCfg().getNetwork().getCommandApi().getAddress());
final var messagingService = new NettyMessagingService(broker.getBrokerCfg().getCluster().getClusterName(), Address.from(SocketUtil.getNextAddress().getPort()), new MessagingConfig());
clientTransport = new AtomixClientTransportAdapter(messagingService);
actor.submitActor((AtomixClientTransportAdapter) clientTransport).join();
messagingService.start().join();
}
use of io.camunda.zeebe.transport.impl.AtomixClientTransportAdapter in project zeebe by zeebe-io.
the class QueryApiIT method setup.
@Before
public void setup() {
serverAddress = NetUtil.toSocketAddressString(broker.getBrokerCfg().getNetwork().getCommandApi().getAddress());
final var messagingService = new NettyMessagingService(broker.getBrokerCfg().getCluster().getClusterName(), Address.from(SocketUtil.getNextAddress().getPort()), new MessagingConfig());
clientTransport = new AtomixClientTransportAdapter(messagingService);
actor.submitActor((AtomixClientTransportAdapter) clientTransport).join();
messagingService.start().join();
}
Aggregations