Skip to content

Conversation

@ThomasCAI-mlv
Copy link
Collaborator

@ThomasCAI-mlv ThomasCAI-mlv commented Aug 26, 2025

This PR adds the possibility to import specific unsynchronized topics from the cluster to Ns4kafka, in addition to the previous capability to import all unsynchronized topics at once.

In the endpoint POST /topics/_/import, the query parameter name can be used to specifically import one topic or multiple topics following a wildcard string.

Example:

  • /topics/_/import?name=myTopicName would only import the topic myTopicName if it exists on the cluster but is missing from Ns4kafka
  • /topics/_/import?name=*-test would import all the unsynchronized topics matching the wildcard *-test

@ThomasCAI-mlv ThomasCAI-mlv self-assigned this Aug 26, 2025
@ThomasCAI-mlv ThomasCAI-mlv added the feature This issue or pull request contains a new feature label Aug 26, 2025
@sonarqubecloud
Copy link

@ThomasCAI-mlv ThomasCAI-mlv changed the title Import topics with name parameter Add the possibility to import specific topics Aug 26, 2025
Copy link
Collaborator

@loicgreffier loicgreffier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ThomasCAI-mlv Looks all good

@loicgreffier loicgreffier merged commit f75b64c into master Aug 27, 2025
5 checks passed
@loicgreffier loicgreffier deleted the feat/import-topic branch August 27, 2025 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature This issue or pull request contains a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants