Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo in README #1

Closed
edenhill opened this issue May 7, 2015 · 1 comment
Closed

Typo in README #1

edenhill opened this issue May 7, 2015 · 1 comment

Comments

@edenhill
Copy link

edenhill commented May 7, 2015

I'm not sure, but it seems there is a typo in the README for queue based consumer,

It should probably be $topic1->consumeQueueStart(...) rather than $queue->..., right?

<?php

$topic1 = $rk->newTopic("topic1");
$queue->consumeQueueStart(0, RD_KAFKA_OFFSET_BEGINNING, $queue);
$queue->consumeQueueStart(1, RD_KAFKA_OFFSET_BEGINNING, $queue);

$topic2 = $rk->newTopic("topic2");
$queue->consumeQueueStart(0, RD_KAFKA_OFFSET_BEGINNING, $queue);
@arnaud-lb
Copy link
Owner

Fixed, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants