19#ifndef PULSAR_MESSAGE_ROUTING_POLICY_HEADER_
20#define PULSAR_MESSAGE_ROUTING_POLICY_HEADER_
22#include <pulsar/DeprecatedException.h>
23#include <pulsar/Message.h>
24#include <pulsar/TopicMetadata.h>
25#include <pulsar/defines.h>
44 "Use int getPartition(const Message& msg,"
45 " const TopicMetadata& topicMetadata)");
56 return getPartition(msg);
60typedef std::shared_ptr<MessageRoutingPolicy> MessageRoutingPolicyPtr;
Definition DeprecatedException.h:28
Definition MessageRoutingPolicy.h:35
virtual int getPartition(const Message &msg, const TopicMetadata &topicMetadata)
Definition MessageRoutingPolicy.h:55
virtual int getPartition(const Message &msg)
Definition MessageRoutingPolicy.h:42
Definition Authentication.h:31