Interface RoutingPolicy (1.7.1)

public interface RoutingPolicy

Methods

route(ByteString messageKey)

public abstract Partition route(ByteString messageKey)
Parameter
NameDescription
messageKeyByteString
Returns
TypeDescription
Partition
Exceptions
TypeDescription
CheckedApiException

routeWithoutKey()

public abstract Partition routeWithoutKey()
Returns
TypeDescription
Partition
Exceptions
TypeDescription
CheckedApiException