UNPKG

kafkajs

Version:

A modern Apache Kafka client for node.js

27 lines (24 loc) 852 B
const { decode, parse } = require('../v9/response') /** * Fetch Response (Version: 10) => throttle_time_ms error_code session_id [responses] * throttle_time_ms => INT32 * error_code => INT16 * session_id => INT32 * responses => topic [partition_responses] * topic => STRING * partition_responses => partition_header record_set * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions] * partition => INT32 * error_code => INT16 * high_watermark => INT64 * last_stable_offset => INT64 * log_start_offset => INT64 * aborted_transactions => producer_id first_offset * producer_id => INT64 * first_offset => INT64 * record_set => RECORDS */ module.exports = { decode, parse, }