mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-cppkafka.git
synced 2025-11-01 02:57:53 +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:
|
||||
using TimeUnit = std::chrono::milliseconds;
|
||||
static constexpr TimeUnit DEFAULT_INITIAL_BACKOFF{100};
|
||||
|
||||
@@ -59,7 +59,7 @@ namespace cppkafka {
|
||||
* This class is not thread safe.
|
||||
*/
|
||||
template <typename BufferType>
|
||||
class BufferedProducer {
|
||||
class CPPKAFKA_API BufferedProducer {
|
||||
public:
|
||||
/**
|
||||
* Concrete builder
|
||||
|
||||
@@ -43,7 +43,7 @@ namespace cppkafka {
|
||||
* \brief Events generated by a CompactedTopicProcessor
|
||||
*/
|
||||
template <typename Key, typename Value>
|
||||
class CompactedTopicEvent {
|
||||
class CPPKAFKA_API CompactedTopicEvent {
|
||||
public:
|
||||
/**
|
||||
* \brief Event type enum
|
||||
|
||||
@@ -70,7 +70,7 @@ namespace cppkafka {
|
||||
* * EOF: void(BasicConsumerDispatcher::EndOfFile, TopicPartition)
|
||||
*/
|
||||
template <typename ConsumerType>
|
||||
class BasicConsumerDispatcher {
|
||||
class CPPKAFKA_API BasicConsumerDispatcher {
|
||||
public:
|
||||
/**
|
||||
* Tag to indicate a timeout occurred
|
||||
|
||||
Reference in New Issue
Block a user