The time point together with the type.
More...
#include <Timestamp.h>
|
enum class | Type { NotAvailable
, CreateTime
, LogAppendTime
} |
|
using | Value = std::int64_t |
|
|
| Timestamp (Value v=0, Type t=Type::NotAvailable) |
|
| Timestamp (Value v, rd_kafka_timestamp_type_t t) |
|
| operator std::chrono::time_point< std::chrono::system_clock > () const |
|
std::string | toString () const |
| Obtains explanatory string.
|
|
|
static Type | convertType (rd_kafka_timestamp_type_t tstype) |
|
static std::string | toString (Type t) |
|
static std::string | toString (Value v) |
|
|
Value | msSinceEpoch |
| The milliseconds since epoch.
|
|
Type | type |
| The type shows what the msSinceEpoch means (CreateTime or LogAppendTime).
|
|
The time point together with the type.
The documentation for this struct was generated from the following file:
- /home/runner/work/modern-cpp-kafka/modern-cpp-kafka/include/kafka/Timestamp.h