mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-cppkafka.git
synced 2025-11-01 02:57:53 +00:00
Merge
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__linux__) || defined(__CYGWIN__)
|
#if defined(__linux__) || defined(__CYGWIN__) || defined(__sun)
|
||||||
|
|
||||||
# include <endian.h>
|
# include <endian.h>
|
||||||
|
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ namespace cppkafka {
|
|||||||
*/
|
*/
|
||||||
template <typename BufferType,
|
template <typename BufferType,
|
||||||
typename Allocator = std::allocator<ConcreteMessageBuilder<BufferType>>>
|
typename Allocator = std::allocator<ConcreteMessageBuilder<BufferType>>>
|
||||||
class CPPKAFKA_API BufferedProducer {
|
class BufferedProducer {
|
||||||
public:
|
public:
|
||||||
enum class FlushMethod {
|
enum class FlushMethod {
|
||||||
Sync, ///< Empty the buffer and wait for acks from the broker.
|
Sync, ///< Empty the buffer and wait for acks from the broker.
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ namespace cppkafka {
|
|||||||
* \brief Events generated by a CompactedTopicProcessor
|
* \brief Events generated by a CompactedTopicProcessor
|
||||||
*/
|
*/
|
||||||
template <typename Key, typename Value>
|
template <typename Key, typename Value>
|
||||||
class CPPKAFKA_API CompactedTopicEvent {
|
class CompactedTopicEvent {
|
||||||
public:
|
public:
|
||||||
/**
|
/**
|
||||||
* \brief Event type enum
|
* \brief Event type enum
|
||||||
@@ -111,7 +111,7 @@ private:
|
|||||||
};
|
};
|
||||||
|
|
||||||
template <typename Key, typename Value>
|
template <typename Key, typename Value>
|
||||||
class CPPKAFKA_API CompactedTopicProcessor {
|
class CompactedTopicProcessor {
|
||||||
public:
|
public:
|
||||||
/**
|
/**
|
||||||
* The type of events generated by this processor
|
* The type of events generated by this processor
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ namespace cppkafka {
|
|||||||
* * EOF: void(BasicConsumerDispatcher::EndOfFile, TopicPartition)
|
* * EOF: void(BasicConsumerDispatcher::EndOfFile, TopicPartition)
|
||||||
*/
|
*/
|
||||||
template <typename ConsumerType>
|
template <typename ConsumerType>
|
||||||
class CPPKAFKA_API BasicConsumerDispatcher {
|
class BasicConsumerDispatcher {
|
||||||
public:
|
public:
|
||||||
/**
|
/**
|
||||||
* Tag to indicate a timeout occurred
|
* Tag to indicate a timeout occurred
|
||||||
|
|||||||
Reference in New Issue
Block a user