Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Create cluster if it doesn't exist during metadata initialisation #445

Conversation

josephglanville
Copy link
Contributor

This case is usually encountered when attempting to use KoP with
standalone mode. When new behavior was introduced in #168 standalone
mode was broken due to sample namespace setup etc not taking place until
after the broker is initalised (which in turn initialises protocol
handlers).

Fixes #185

This case is usually encountered when attempting to use KoP with
standalone mode. When new behavior was introduced in streamnative#168 standalone
mode was broken due to sample namespace setup etc not taking place until
after the broker is initalised (which in turn initialises protocol
handlers).

Fixes streamnative#185
@josephglanville josephglanville force-pushed the jpg/create-cluster-metadata-init branch from cd8afd3 to a9356b3 Compare April 18, 2021 14:05
@josephglanville
Copy link
Contributor Author

I see in numerous places references to TLS not being supported, is that relevant here when constructing the cluster data?

@BewareMyPower
Copy link
Collaborator

Thanks for your contribution! The standalone problem has existed for a long time and I nearly forgot to look into the issue. BTW, recently schemaRegistryTest and Kafka Streams related tests were not stable in github CI. I think we can merge this PR even if they failed.

I see in numerous places references to TLS not being supported, is that relevant here when constructing the cluster data?

IMO it's not. The cluster metadata is used for Pulsar not KoP. And if you didn't configure TLS related metadata, it wouldn't be written to Z-node.

@BewareMyPower BewareMyPower merged commit 5ee6bf0 into streamnative:master Apr 18, 2021
@josephglanville josephglanville deleted the jpg/create-cluster-metadata-init branch April 19, 2021 03:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Pulsar standalone failed to start without any existed data
2 participants