UNPKG

@saniot/kafka-header-helper

Version:

A package which help in making consistent kafka header.

11 lines (8 loc) 198 B
const { getHostName, getIPAddress } = require("./serviceDetails"); const serviceDetails = { host_name: getHostName(), host_ip: getIPAddress(), }; module.exports = { serviceDetails, };