mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-cppkafka.git
synced 2025-11-02 11:37:50 +00:00
19 lines
266 B
C++
19 lines
266 B
C++
#ifndef CPPKAFKA_PARTITION_H
|
|
#define CPPKAFKA_PARTITION_H
|
|
|
|
namespace cppkafka {
|
|
|
|
class Partition {
|
|
public:
|
|
Partition();
|
|
Partition(int partition);
|
|
|
|
int get_partition() const;
|
|
private:
|
|
int partition_;
|
|
};
|
|
|
|
} // cppkafka
|
|
|
|
#endif // CPPKAFKA_PARTITION_H
|