Class RoutingMetadata (1.11.2)

public final class RoutingMetadata

Inheritance

java.lang.Object > RoutingMetadata

Static Methods

of(SubscriptionPath subscription, Partition partition)

public static RoutingMetadata of(SubscriptionPath subscription, Partition partition)
Parameters
NameDescription
subscriptionSubscriptionPath
partitionPartition
Returns
TypeDescription
RoutingMetadata
Exceptions
TypeDescription
ApiException

of(TopicPath topic, Partition partition)

public static RoutingMetadata of(TopicPath topic, Partition partition)
Parameters
NameDescription
topicTopicPath
partitionPartition
Returns
TypeDescription
RoutingMetadata
Exceptions
TypeDescription
ApiException

Methods

getMetadata()

public Map<String,String> getMetadata()
Returns
TypeDescription
Map<String,String>