CMAK icon indicating copy to clipboard operation
CMAK copied to clipboard

read-only kafka manager

Open sidcley opened this issue 8 years ago • 9 comments

Hello there,

We would like to propose a feature where kafka-manager becomes read-only. That flag would remove any functionality where you can do things like (add partition, add topic,...) from the UI. This is required for our production environments where we want people to see what is going on in kafka but not necessarily perform any change.

sidcley avatar Apr 18 '16 14:04 sidcley

You can already do this, just change the application features in the conf file.

patelh avatar Apr 18 '16 14:04 patelh

Thanks @patelh . If you can provide rest api to provision cluster like requested in #226 I think we can disable all features and just use rest api to add cluster and use it in read-only mode.

ghughal avatar Apr 19 '16 19:04 ghughal

@patelh Can you tell me where I can change the read-only mode in conf file? I only find the login-in Authentication.

liuxialong avatar Jul 04 '16 14:07 liuxialong

@liuxialong application.features=["KMClusterManagerFeature","KMTopicManagerFeature","KMPreferredReplicaElectionFeature","KMReassignPartitionsFeature"]

DavidLiuXh avatar Jul 06 '16 01:07 DavidLiuXh

Nice feature. Also I have a question. Where does kafka manager stores its state, i.e. clusters and their settings? How do I backup it or clean everything for example?

ilyai avatar Oct 27 '17 15:10 ilyai

@sidcley We have the exact same use case as you. We want a read-only version of kafka manager. What features did you enable to do this?

abhinigam avatar Feb 14 '18 21:02 abhinigam

+1

aseev-xx avatar Mar 05 '18 19:03 aseev-xx

To make it more clear if you delete the features out of this config, it will be read only more or less.

application.features=["KMClusterManagerFeature","KMTopicManagerFeature","KMPreferredReplicaElectionFeature","KMReassignPartitionsFeature"]

jbanton-dm avatar Aug 17 '18 15:08 jbanton-dm

This is not working with 3.0.0.5 kafka manager. I can still create/delete topics without application.features in place.

Aracki avatar Jun 02 '21 09:06 Aracki