@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.
9 lines (6 loc) • 300 B
JavaScript
const requestV0 = require('../v0/request')
// Produce Request on or after v1 indicates the client can parse the quota throttle time
// in the Produce Response.
module.exports = ({ acks, timeout, topicData }) => {
return Object.assign(requestV0({ acks, timeout, topicData }), { apiVersion: 1 })
}