UNPKG
kafka_header
Version:
latest (1.0.2)
1.0.2
1.0.1
1.0.0
A package which help in making consistent kafka header.
kafka_header
/
config.js
11 lines
(8 loc)
•
208 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
const
{ getHostName, getIPAddress } =
require
(
"./serviceDetails"
);
const
serviceDetails = {
host_name
:
getHostName
(),
host_ip
:
getIPAddress
(), };
module
.
exports
= { serviceDetails, };