Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion include/cppkafka/message_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
#define CPPKAFKA_MESSAGE_INTERNAL_H

#include <memory>
#include "macros.h"

namespace cppkafka {

Expand All @@ -45,7 +46,7 @@ using InternalPtr = std::shared_ptr<Internal>;
/**
* \brief Private message data structure
*/
class MessageInternal {
class CPPKAFKA_API MessageInternal {
public:
MessageInternal(void* user_data, std::shared_ptr<Internal> internal);
static std::unique_ptr<MessageInternal> load(Message& message);
Expand Down
3 changes: 2 additions & 1 deletion include/cppkafka/utils/backoff_committer.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
#include "../consumer.h"
#include "backoff_performer.h"
#include "../detail/callback_invoker.h"
#include "../macros.h"

namespace cppkafka {

Expand Down Expand Up @@ -71,7 +72,7 @@ namespace cppkafka {
* committer.commit(some_message);
* \endcode
*/
class BackoffCommitter : public BackoffPerformer {
class CPPKAFKA_API BackoffCommitter : public BackoffPerformer {
public:
/**
* \brief The error callback.
Expand Down
3 changes: 2 additions & 1 deletion include/cppkafka/utils/compacted_topic_processor.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
#include <boost/optional.hpp>
#include "../buffer.h"
#include "../consumer.h"
#include "../macros.h"

namespace cppkafka {
/**
Expand Down Expand Up @@ -110,7 +111,7 @@ class CPPKAFKA_API CompactedTopicEvent {
};

template <typename Key, typename Value>
class CompactedTopicProcessor {
class CPPKAFKA_API CompactedTopicProcessor {
public:
/**
* The type of events generated by this processor
Expand Down
3 changes: 2 additions & 1 deletion include/cppkafka/utils/poll_strategy_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
#include "../queue.h"
#include "../topic_partition_list.h"
#include "poll_interface.h"
#include "../macros.h"

namespace cppkafka {

Expand All @@ -52,7 +53,7 @@ struct QueueData {
*
* \brief Base implementation of the PollInterface
*/
class PollStrategyBase : public PollInterface {
class CPPKAFKA_API PollStrategyBase : public PollInterface {
public:
using QueueMap = std::map<TopicPartition, QueueData>;

Expand Down