Add KafkaHandleBase::get_offsets_for_times

This commit is contained in:
Matias Fontanini
2017-04-15 19:21:51 -07:00
parent c9f3b0c5bc
commit 8143c5b06a
6 changed files with 54 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ include(CheckFunctionExists)
set(CMAKE_REQUIRED_LIBRARIES ${RDKAFKA_LIBRARY})
check_function_exists(rd_kafka_committed HAVE_VALID_KAFKA_VERSION)
check_function_exists(rd_kafka_offsets_for_times HAVE_OFFSETS_FOR_TIMES)
set(CMAKE_REQUIRED_LIBRARIES)
if (HAVE_VALID_KAFKA_VERSION)