Use tags on EOF and timeout callbacks on ConsumerDispatcher

This commit is contained in:
Matias Fontanini
2017-06-10 17:39:23 -07:00
parent f0ec0bfb10
commit 4369b75695
3 changed files with 31 additions and 16 deletions

View File

@@ -44,11 +44,11 @@ void ConsumerDispatcher::handle_error(Error error) {
throw ConsumerException(error);
}
void ConsumerDispatcher::handle_eof(const TopicPartition& /*topic_partition*/) {
void ConsumerDispatcher::handle_eof(EndOfFile, const TopicPartition& /*topic_partition*/) {
}
void ConsumerDispatcher::ignore() {
void ConsumerDispatcher::handle_timeout(Timeout) {
}