Skip to content

Commit 6ad1ee6

Browse files
committed
fix README
1 parent d4d22d8 commit 6ad1ee6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ $options->setNackRedeliveryDelay(20);
142142

143143
$consumer = new Consumer('pulsar://localhost:6650', $options);
144144
// or use pulsar proxy address
145-
//$producer = new Producer('http://localhost:8080', $options);
145+
//$producer = new Consumer('http://localhost:8080', $options);
146146

147147
$consumer->connect();
148148

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ $options->setNackRedeliveryDelay(20);
145145

146146
$consumer = new Consumer('pulsar://localhost:6650', $options);
147147
// or use pulsar proxy address
148-
//$producer = new Producer('http://localhost:8080', $options);
148+
//$producer = new Consumer('http://localhost:8080', $options);
149149

150150
$consumer->connect();
151151

0 commit comments

Comments
 (0)