Closed k2la closed 2 years ago
When the sample code in README is executed, the following logs are output on the client and server.
Client:
PulsarFlexResponseTimeoutError: Timeout waiting for response for request id: 0 from the Broker
Server:
2022-09-07T10:44:06,378+0900 [pulsar-io-18-2] WARN org.apache.pulsar.broker.service.ServerCnx - [/127.0.0.1:62247] Got exception java.lang.IllegalStateException: Some required fields are missing at org.apache.pulsar.common.api.proto.CommandSubscribe.checkRequiredFields(CommandSubscribe.java:922)
It appears that this is due to the fact that "subscription" is not specified when creating Consumer.
"subscription"
Add "subscription" explicitly.
Thanks for your contribution! @k2la
Motivation
When the sample code in README is executed, the following logs are output on the client and server.
Client:
Server:
It appears that this is due to the fact that
"subscription"
is not specified when creating Consumer.Modification
Add
"subscription"
explicitly.