[BUG] can't start with cluster

Open
#324 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
docker, java
Domain
backend

Research direction

Start with the supplied apachepulsar/pulsar-all:2.7.2 image, the downloaded AMQP protocol-handler NAR, and AmqpProtocolHandler.start at line 98. Reproduce the clustered startup and compare the broker and handler runtime APIs; done means AMQP starts without the reported NoSuchMethodError under the supplied configuration.

Written by the indexing model from the issue text.

Description

type/bug

Describe the bug
trying to start amqp with cluster charts from apache repo

and have

java.lang.NoSuchMethodError: org.apache.pulsar.broker.ServiceConfigurationUtils.getAppliedAdvertisedAddress(Lorg/apache/pulsar/broker/ServiceConfiguration;)Ljava/lang/String;
	at io.streamnative.pulsar.handlers.amqp.AmqpProtocolHandler.start(AmqpProtocolHandler.java:98) ~[?:?]
	at org.apache.pulsar.broker.protocol.ProtocolHandlerWithClassLoader.start(ProtocolHandlerWithClassLoader.java:66) ~[org.apache.pulsar-pulsar-broker-2.7.2.jar:2.7.2]
	at org.apache.pulsar.broker.protocol.ProtocolHandlers.lambda$start$4(ProtocolHandlers.java:141) ~[org.apache.pulsar-pulsar-broker-2.7.2.jar:2.7.2]

used this configurations :

FROM apachepulsar/pulsar-all:2.7.2
RUN curl -vL https://github.com/streamnative/pulsar-io-amqp-1-0/releases/download/v2.8.1.21/pulsar-io-amqp1_0-2.8.1.21.nar -o /pulsar/connectors/pulsar-io-amqp1_0-2.8.1.21.nar
RUN mkdir /pulsar/protocols && curl -vL https://github.com/streamnative/aop/releases/download/v2.7.2.9/pulsar-protocol-handler-amqp-2.7.2.9.nar -o /pulsar/protocols/pulsar-protocol-handler-amqp-2.7.2.9.nar
RUN echo 'amqpListeners=amqp://127.0.0.1:5672' >> /pulsar/conf/broker.conf
RUN echo 'protocolHandlerDirectory=./protocols' >> /pulsar/conf/broker.conf
RUN echo 'messagingProtocols=amqp' >> /pulsar/conf/broker.conf
RUN echo 'brokerServicePort=6650' >> /pulsar/conf/broker.conf
RUN echo 'amqpProxyEnable=true' >> /pulsar/conf/broker.conf
RUN echo 'amqpProxyPort=5682' >> /pulsar/conf/broker.conf

any idea ?

Dominant language
Java
Stars
123
Forks
41
Avg merge
4h 43m
Merged PRs (30d)
4

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from streamnative/aop

All issues in streamnative/aop

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.