UNPKG

@dtu-olp-2024/kafka-nocobase

Version:

A NocoBase plugin for Apache Kafka integration, supporting message publishing, topic management, and event-driven workflows. Built for the DTU GreenHope project.

14 lines (11 loc) 359 B
const requestV1 = require('../v1/request') /** * OffsetFetch Request (Version: 2) => group_id [topics] * group_id => STRING * topics => topic [partitions] * topic => STRING * partitions => partition * partition => INT32 */ module.exports = ({ groupId, topics }) => Object.assign(requestV1({ groupId, topics }), { apiVersion: 2 })