Require rdkafka v0.9.4 to build

This commit is contained in:
Matias Fontanini
2017-04-16 10:29:15 -07:00
parent f924eb68e7
commit f5c8c7c3c8
5 changed files with 1 additions and 27 deletions

View File

@@ -1,6 +0,0 @@
#ifndef CPPKAFKA_CONFIG_H
#define CPPKAFKA_CONFIG_H
#cmakedefine CPPKAFKA_HAVE_OFFSET_FOR_TIMES
#endif // CPPKAFKA_CONFIG_H

View File

@@ -44,7 +44,6 @@
#include "topic_configuration.h"
#include "configuration.h"
#include "macros.h"
#include "config.h"
namespace cppkafka {
@@ -156,8 +155,6 @@ public:
*/
TopicMetadata get_metadata(const Topic& topic) const;
#ifdef CPPKAFKA_HAVE_OFFSET_FOR_TIMES
/**
* \brief Gets topic/partition offsets based on timestamps
*
@@ -167,8 +164,6 @@ public:
*/
TopicPartitionList get_offsets_for_times(const TopicPartitionsTimestampsMap& queries) const;
#endif // CPPKAFKA_HAVE_OFFSET_FOR_TIMES
/**
* Returns the kafka handle name
*/