if I want to configure multiple gateway address ,but only one code can be configured
only use ngnix???
public static ManagedChannel buildChannel(final ZeebeClientConfiguration config) {
URI address;
try {
address = new URI(“zb://” + config.getGatewayAddress());
} catch (URISyntaxException var3) {
throw new RuntimeException(“Failed to parse broker contact point”, var3);
}
NettyChannelBuilder channelBuilder = NettyChannelBuilder.forAddress(address.getHost(), address.getPort());
configureConnectionSecurity(config, channelBuilder);
channelBuilder.keepAliveTime(config.getKeepAlive().toMillis(), TimeUnit.MILLISECONDS);
channelBuilder.userAgent("zeebe-client-java/" + VersionUtil.getVersion());
return channelBuilder.build();
}