@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.
11 lines (8 loc) • 334 B
JavaScript
const requestV4 = require('../v4/request')
/**
* Metadata Request (Version: 5) => [topics] allow_auto_topic_creation
* topics => STRING
* allow_auto_topic_creation => BOOLEAN
*/
module.exports = ({ topics, allowAutoTopicCreation = true }) =>
Object.assign(requestV4({ topics, allowAutoTopicCreation }), { apiVersion: 5 })