Interface Environment

All Superinterfaces:
AutoCloseable

public interface Environment extends AutoCloseable
The Environment is the main entry point to a node or a cluster of nodes. Producer and Consumer instances are created from an Environment instance. An Environment can also create and delete streams.

Applications are supposed to use a single Environment instance to interact with a cluster.

Use builder() to configure and create an Environment instance.

Environment instances are expected to be thread-safe.

See Also: