zbentley commented on issue #15704: URL: https://github.com/apache/pulsar/issues/15704#issuecomment-1133907534
@BewareMyPower > It's better to show your Python client version and paste your code. See https://github.com/apache/pulsar/issues/15701; that contains Python/client/etc. version. The code I'm using is: ``` from pulsar import Client import os TOPIC = 'persistent://chariot1/chariot_ns_sre--heartbeat/chariot_topic_heartbeat' SUBSCRIPTION = 'chariot_subscription-heartbeat-heartbeat' def main(): client = Client(service_url='pulsar://localhost:6650') client.subscribe( topic=TOPIC, subscription_name=SUBSCRIPTION, receiver_queue_size=0, consumer_name=f'testconsumer-{os.getpid()}' ) if __name__ == '__main__': main() ``` -- 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]
