-
Notifications
You must be signed in to change notification settings - Fork 62
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
how do I configure the offset? #11
Comments
hi @xelax, so the default for kafka consumers for to override this behavior you can add this to your
|
Thanks for the quick answer! |
So the way kafka's console consumer works is that if you do https:/apache/kafka/blob/0.8.1/core/src/main/scala/kafka/consumer/ConsoleConsumer.scala#L181 So for testing you can do similar in a val props:AkkaConsumerProps = //your consumer props
ZkUtils.maybeDeletePath(props.zkConnect , "/consumers/" + props.group) |
also |
How do I tell the consumer whether to start from the oldest available message or from the newest available offset?
The text was updated successfully, but these errors were encountered: