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

Conversation

@Demogorgon314
Copy link
Member

@Demogorgon314 Demogorgon314 commented Aug 30, 2021

Fix #674

Motivation

Some users want to use exists non-partitioned topic in KoP, so we need support the feature.

Modifications

Note: Current don't support transaction.

When KoP handle METADATA request, if the topic is non-partitioned topic, then treat as a single partitioned topic. And when we KafkaTopicManager#getTopic, add a fallback to get non-partitioned topic. Also when namespace load or unload, we need clear the cache.

@Demogorgon314 Demogorgon314 self-assigned this Aug 31, 2021
@Demogorgon314 Demogorgon314 changed the title [WIP][FEATURE] Support non-partitioned Topic [FEATURE] Support non-partitioned Topic Aug 31, 2021
@Demogorgon314 Demogorgon314 force-pushed the support-non-partitioned-topic branch from ef9941e to e365330 Compare September 2, 2021 01:46
@BewareMyPower BewareMyPower merged commit 5649b02 into streamnative:master Sep 2, 2021
BewareMyPower pushed a commit that referenced this pull request Sep 8, 2021
Fix #674

## Motivation
Some users want to use exists non-partitioned topic in KoP, so we need support the feature.

## Modifications
**Note**: Current don't support transaction.

When KoP handle `METADATA` request, if the topic is non-partitioned topic, then treat as a single partitioned topic. And when we `KafkaTopicManager#getTopic`, add a fallback to get non-partitioned topic. Also when namespace `load` or `unload`, we need clear the cache.
BewareMyPower added a commit that referenced this pull request Sep 30, 2021
…760)

### Motivation

#690 supports non-partitioned topics and #742 supports multiple listeners and marks some configs as deprecated, so the current documents are outdated. 

### Modification
Even if KoP supports non-partitioned topics now, it's still better to configure `allowAutoTopicCreationType` with `partitioned` by default. This PR modified the explanation for the reason.

This PR also adds docs for how to enable multiple listeners and updates the related configuration docs.

In addition, #742 marks `kafkaListenerName` as deprecated, but it also makes this config not work anymore. So this PR removes the config and related tests.
BewareMyPower added a commit that referenced this pull request Sep 30, 2021
…760)

### Motivation

#690 supports non-partitioned topics and #742 supports multiple listeners and marks some configs as deprecated, so the current documents are outdated. 

### Modification
Even if KoP supports non-partitioned topics now, it's still better to configure `allowAutoTopicCreationType` with `partitioned` by default. This PR modified the explanation for the reason.

This PR also adds docs for how to enable multiple listeners and updates the related configuration docs.

In addition, #742 marks `kafkaListenerName` as deprecated, but it also makes this config not work anymore. So this PR removes the config and related tests.
@Demogorgon314 Demogorgon314 deleted the support-non-partitioned-topic branch August 3, 2022 07:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Support non-partitioned topics.

2 participants