AuroraTwinkle commented on code in PR #22861: URL: https://github.com/apache/pulsar/pull/22861#discussion_r1635046442
########## pulsar-client/src/main/java/org/apache/pulsar/client/util/ExecutorProvider.java: ########## @@ -83,6 +85,12 @@ public ExecutorService getExecutor() { return executors.get((currentThread.getAndIncrement() & Integer.MAX_VALUE) % numThreads).getKey(); } + @Override + public void execute(byte[] shardKey, Runnable runnable) { + int keyHash = Murmur3_32Hash.getInstance().makeHash(shardKey); Review Comment: > This will be obsolete once `Message<?> message` is passed in the MessageListenerExecutor. Thanks, got it ! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org