UNPKG

kafkajs

Version:

A modern Apache Kafka client for node.js

16 lines (13 loc) 334 B
/** * Enum for timestamp types * @readonly * @enum {TimestampType} */ module.exports = { // Timestamp type is unknown NO_TIMESTAMP: -1, // Timestamp relates to message creation time as set by a Kafka client CREATE_TIME: 0, // Timestamp relates to the time a message was appended to a Kafka log LOG_APPEND_TIME: 1, }