This repository was archived by the owner on Jan 24, 2024. It is now read-only.
v2.8.0-rc-202102261859
Bump pulsar to 2.8.0-rc-202102252222 (#386) This version update is convenient for tests in real environment since there's no binary download url for original pulsar `2.8.0-rc-202101252233`. This PR fixes the API incompatibility problems that are introduced by https://github.com/apache/pulsar/pull/9397 and https://github.com/apache/pulsar/pull/9302. Another significant change between these two versions is https://github.com/apache/pulsar/pull/9338, which introduced metadata-store API for cluster resources. This PR fixed the test failure caused by it as well. Since KoP `tests` module only uses one `MockZooKeeper` to manage z-nodes, see `KopProtocolHandlerTestBase#createMockZooKeeper`, the mocked `createConfigurationMetadataStore` method returns `mockedZooKeeper` here instead of a `mockedZooKeeperGlobal` like what Pulsar did in `MockedPulsarServiceBaseTest`. Besides, there's a test bug in `testBrokerHandleTopicMetadataRequest` that was not exposed by the previous Pulsar. This PR fixes it.