zbentley commented on issue #15078:
URL: https://github.com/apache/pulsar/issues/15078#issuecomment-1094282171
A topic with a single partition returns the below output; unsure if that's
the same as a nonpartitioned topic:
```
2022-04-10 10:03:20.907 INFO [0x10cec3600] ClientConnection:181 | [<none>
-> pulsar://localhost:6650] Create ClientConnection, timeout=10000
2022-04-10 10:03:20.907 INFO [0x10cec3600] ConnectionPool:96 | Created
connection for pulsar://localhost:6650
2022-04-10 10:03:20.909 INFO [0x700005637000] ClientConnection:367 |
[127.0.0.1:54061 -> 127.0.0.1:6650] Connected to broker
2022-04-10 10:03:20.910 INFO [0x700005637000] HandlerBase:64 |
[persistent://chariot1/chariot_namespace_heartbeat/chariot_topic_heartbeat-partition-0,
] Getting connection from pool
2022-04-10 10:03:20.911 WARN [0x700005637000] ClientConnection:1052 |
[127.0.0.1:54061 -> 127.0.0.1:6650] Received error response from server:
ProducerBlockedQuotaExceededException (Cannot create producer on topic with
backlog quota exceeded) -- req_id: 0
2022-04-10 10:03:20.911 ERROR [0x700005637000] ProducerImpl:248 |
[persistent://chariot1/chariot_namespace_heartbeat/chariot_topic_heartbeat-partition-0,
] Failed to create producer: ProducerBlockedQuotaExceededException
2022-04-10 10:03:20.911 INFO [0x700005637000] ProducerImpl:621 |
[persistent://chariot1/chariot_namespace_heartbeat/chariot_topic_heartbeat-partition-0,
] Closing producer for topic
persistent://chariot1/chariot_namespace_heartbeat/chariot_topic_heartbeat-partition-0
2022-04-10 10:03:20.911 ERROR [0x700005637000] PartitionedProducerImpl:152 |
Unable to create Producer for partition - 0 Error -
ProducerBlockedQuotaExceededException
2022-04-10 10:03:20.911 INFO [0x700005637000] ProducerImpl:590 | Producer -
[persistent://chariot1/chariot_namespace_heartbeat/chariot_topic_heartbeat-partition-0,
] , [batching = off]
Traceback (most recent call last):
File "scratch.py", line 5, in <module>
producer =
client.create_producer('persistent://chariot1/chariot_namespace_heartbeat/chariot_topic_heartbeat')
File
"/Users/zac.bentley/Desktop/Projects/Klaviyo/chariot/.venv/lib/python3.7/site-packages/pulsar/__init__.py",
line 603, in create_producer
p._producer = self._client.create_producer(topic, conf)
_pulsar.UnknownError: Pulsar error: UnknownError
2022-04-10 10:03:20.913 INFO [0x10cec3600] ClientConnection:1535 |
[127.0.0.1:54061 -> 127.0.0.1:6650] Connection closed
```
--
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]