Class PartitionedHttpClientBuilder<U,​R>

  • Type Parameters:
    U - the type of address before resolution (unresolved address)
    R - the type of address after resolution (resolved address)

    public abstract class PartitionedHttpClientBuilder<U,​R>
    extends java.lang.Object
    A builder of homogeneous StreamingHttpClient instances which call the server associated with a partition selected from a set of PartitionedServiceDiscovererEvents resolved from a single unresolved address.

    Partition selection uses a function to infer PartitionAttributes from the HttpRequestMetaData. It also provides a good set of default settings and configurations, which could be used by most users as-is or could be overridden to address specific use cases.