This is a public interface, but not a good one. And ownership is all messed up.

Does this even give a real performance benefit? The managed ledger selects the 
thread based on ml name, the ledger by the ledger id. There's no guarantee 
these will be the same. A better approach would be to allow the managed ledger 
to pass in its executor to the ledger on creation.

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

Reply via email to