ZooKeeper proxy

    Attention

    The zookeeper_proxy filter is experimental and is currently under active development. Capabilities will be expanded over time and the configuration structures are likely to change.

    The ZooKeeper proxy filter should be chained with the TCP proxy filter as shown in the configuration snippet below:

    Every configured ZooKeeper proxy filter has statistics rooted at zookeeper.<stat_prefix>. with the following statistics:

    The ZooKeeper filter emits the following dynamic metadata for each message parsed:

    Name

    Type

    Description

    <path>

    string

    The path associated with the request, response or event

    <opname>

    string

    The opname for the request, response or event

    <create_type>

    string

    The string representation of the flags applied to the znode

    <bytes>

    string

    The size of the request message in bytes

    <watch>

    string

    True if a watch is being set, false otherwise

    <version>

    string

    The version parameter, if any, given with the request

    <timeout>

    string

    The timeout parameter in a connect response

    <protocol_version>

    string

    The protocol version in a connect response

    <readonly>

    string

    The readonly flag in a connect response

    <zxid>

    string

    The zxid field in a response header

    <error>

    string

    The error field in a response header

    <client_state>

    string

    The state field in a watch event

    <event_type>

    string

    The event type in a a watch event