bootstrap servers

The broker address, or list of addresses, a client contacts first to discover the rest of the cluster.

In more detail

After the first connection, the client asks for metadata and then talks directly to whichever broker leads each partition it needs. You do not have to list every broker, but listing more than one lets the client start even if one is down.

Example

KafkaProducer(bootstrap_servers='m02l01-broker:9092')

Related terms

Taught in

References

Certification courses