I think we should resolve the dependency of the module pulsar-zookeeper-utils.
To Reproduce
Steps to reproduce the behavior:
Create a new project
Depend on the package io.streamnative:pulsar-broker:2.9.2.14.
Try to build the project.
See error.
Expected behavior
The project should be built successfully.
Context
I think we could exclude all grpc-related packages from org.apache.bookkeeper:stream-storage-java-client in module pulsar-zookeeper-utils because it also import package grpc-all.
Describe the bug The Pulsar broker has a potential conflict dependency problem.
When building the KoP protocol handler, we met this conflict dependency problem. See error logs below:
After format, we could find that the module
pulsar-zookeeper-utils
may depend on different versions packagegrpc-core
.I think we should resolve the dependency of the module
pulsar-zookeeper-utils
.To Reproduce Steps to reproduce the behavior:
io.streamnative:pulsar-broker:2.9.2.14
.Expected behavior The project should be built successfully.
Context I think we could exclude all grpc-related packages from
org.apache.bookkeeper:stream-storage-java-client
in modulepulsar-zookeeper-utils
because it also import packagegrpc-all
.