Export symbols on Windows dll builds

This commit is contained in:
Matias Fontanini
2016-06-19 09:46:28 -07:00
parent 678ac88c9b
commit 831111812e
14 changed files with 83 additions and 23 deletions

View File

@@ -36,6 +36,7 @@
#include <functional>
#include "kafka_handle_base.h"
#include "message.h"
#include "macros.h"
namespace cppkafka {
@@ -92,7 +93,7 @@ class TopicConfiguration;
* }
* \endcode
*/
class Consumer : public KafkaHandleBase {
class CPPKAFKA_API Consumer : public KafkaHandleBase {
public:
using AssignmentCallback = std::function<void(TopicPartitionList&)>;
using RevocationCallback = std::function<void(const TopicPartitionList&)>;