Open xqianwang opened 3 years ago
@xqianwang Hi, can you add more detailed info about how to set up websocket client to reproduce this issue ?
I am using cmd bin/pulsar-client produce <topic> -n 1000 -r 1000
and sets brokerServiceUrl=ws://localhost:8080/
in conf/client.conf
. Not able to reproduce this issue.
The issue had no activity for 30 days, mark with Stale label.
Describe the bug Using java websocket client for publishing messages to pulsar. At the beginning it was good. But when producer send queue is full, pulsar websocket server ProducerHandler throws errors:
Error occurred while producer handler was sending msg from /127.0.0.1:37254: org.apache.pulsar.client.api.PulsarClientException$ProducerQueueIsFullError: Producer send queue is full
. On the java websocket client side, it still receive result ok ack from server:{"result":"ok","messageId":"CPEKEINF","context":"1","errorCode":0,"schemaVersion":0} from server
To Reproduce Steps to reproduce the behavior:Expected behavior Websocket client sending message should be blocked.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Add any other context about the problem here.