mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-cppkafka.git
synced 2025-11-16 17:54:50 +00:00
Add CPPKAFKA_API to utils classes
This commit is contained in:
@@ -40,7 +40,7 @@ namespace cppkafka {
|
|||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
class BackoffPerformer {
|
class CPPKAFKA_API BackoffPerformer {
|
||||||
public:
|
public:
|
||||||
using TimeUnit = std::chrono::milliseconds;
|
using TimeUnit = std::chrono::milliseconds;
|
||||||
static constexpr TimeUnit DEFAULT_INITIAL_BACKOFF{100};
|
static constexpr TimeUnit DEFAULT_INITIAL_BACKOFF{100};
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ namespace cppkafka {
|
|||||||
* This class is not thread safe.
|
* This class is not thread safe.
|
||||||
*/
|
*/
|
||||||
template <typename BufferType>
|
template <typename BufferType>
|
||||||
class BufferedProducer {
|
class CPPKAFKA_API BufferedProducer {
|
||||||
public:
|
public:
|
||||||
/**
|
/**
|
||||||
* Concrete builder
|
* Concrete builder
|
||||||
|
|||||||
@@ -43,7 +43,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 CompactedTopicEvent {
|
class CPPKAFKA_API CompactedTopicEvent {
|
||||||
public:
|
public:
|
||||||
/**
|
/**
|
||||||
* \brief Event type enum
|
* \brief Event type enum
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ namespace cppkafka {
|
|||||||
* * EOF: void(BasicConsumerDispatcher::EndOfFile, TopicPartition)
|
* * EOF: void(BasicConsumerDispatcher::EndOfFile, TopicPartition)
|
||||||
*/
|
*/
|
||||||
template <typename ConsumerType>
|
template <typename ConsumerType>
|
||||||
class BasicConsumerDispatcher {
|
class CPPKAFKA_API BasicConsumerDispatcher {
|
||||||
public:
|
public:
|
||||||
/**
|
/**
|
||||||
* Tag to indicate a timeout occurred
|
* Tag to indicate a timeout occurred
|
||||||
|
|||||||
Reference in New Issue
Block a user