This is an automated email from the ASF dual-hosted git repository.
mmerli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new f7a91a1 Fixed python websocket client sample code (#2881)
f7a91a1 is described below
commit f7a91a195cc4715fe3950031241f0b64d2381c1d
Author: 車大燃画 <[email protected]>
AuthorDate: Tue Oct 30 01:18:56 2018 +0900
Fixed python websocket client sample code (#2881)
---
site2/docs/client-libraries-websocket.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/site2/docs/client-libraries-websocket.md
b/site2/docs/client-libraries-websocket.md
index d0b1dbd..1b17ee7 100644
--- a/site2/docs/client-libraries-websocket.md
+++ b/site2/docs/client-libraries-websocket.md
@@ -273,7 +273,7 @@ Here's an example Python producer that sends a simple
message to a Pulsar [topic
```python
import websocket, base64, json
-TOPIC = 'ws://localhost:8080/ws/producer/persistent/public/default/my-topic'
+TOPIC = 'ws://localhost:8080/ws/v2/producer/persistent/public/default/my-topic'
ws = websocket.create_connection(TOPIC)