Function sea_streamer_kafka::host_id
source · pub fn host_id() -> &'static str
Expand description
Get the host id. Inside Docker, it’s the container ID. Otherwise it’s the MAC address.
You can override it via the HOST_ID
env var.
pub fn host_id() -> &'static str
Get the host id. Inside Docker, it’s the container ID. Otherwise it’s the MAC address.
You can override it via the HOST_ID
env var.