DJuR opened a new issue, #6015:
URL: https://github.com/apache/rocketmq/issues/6015
code:
```
public static void main(String[] args) throws ClientException {
String endpoint = "localhost:9876";
String topic = "TopicTest";
ClientServiceProvider clientServiceProvider =
ClientServiceProvider.loadService();
ClientConfigurationBuilder clientConfigurationBuilder =
ClientConfiguration.newBuilder().setEndpoints(endpoint);
ClientConfiguration build = clientConfigurationBuilder.build();
Producer producer =
clientServiceProvider.newProducerBuilder().setTopics(topic)
.setClientConfiguration(build)
.build();
Message message = clientServiceProvider.newMessageBuilder()
.setTag(topic)
.setKeys("messageKey")
.setTag("messageTag")
.setBody("messageBody".getBytes(StandardCharsets.UTF_8))
.build();
SendReceipt send = producer.send(message);
System.out.println(send.getMessageId());
}
```
Caused by: java.util.concurrent.ExecutionException:
org.apache.rocketmq.shaded.io.grpc.StatusRuntimeException: UNAVAILABLE: Failed
ALPN negotiation: Unable to find compatible protocol
Channel Pipeline: [SslHandler#0, ProtocolNegotiators$ClientTlsHandler#0,
WriteBufferingAndExceptionHandler#0, DefaultChannelPipeline$TailContext#0]
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]