I think we should also try to think of a more general approach for this 
problem. 

Right now, the only per-topic policy override is for the authorization 
settings. While is good to add backlog retention override, in future we might 
need to add more for each policy tunable. 

For sake of setting a format in the policies metadata, we could have a map with 
all the per-topic overrides that can support all the available policies.

Then we can kind of reuse the same code for setting specific policies on the 
namespace, to apply also for the single topic case.

[ Full content available at: https://github.com/apache/pulsar/pull/2659 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to