provectus / kafka-ui-docs Goto Github PK
View Code? Open in Web Editor NEWDocumentation for UI for Apache Kafka
Home Page: https://docs.kafka-ui.provectus.io/
Documentation for UI for Apache Kafka
Home Page: https://docs.kafka-ui.provectus.io/
master
-labeled docker image and the issue still persists thereThe documentation for data masking: https://docs.kafka-ui.provectus.io/configuration/data-masking are not aligned with the code. Documentation suggests to add KAFKA_CLUSTERS_0_MASKING_2_PATTERN_X to mask the data in value or key, but this is not behaving as expected.
Looking into the code: https://github.com/provectus/kafka-ui/blob/master/kafka-ui-api/src/main/java/com/provectus/kafka/ui/config/ClustersProperties.java#L137 the variable name is maskingCharsReplacement and not pattern. Thus, in order to get the masking to work, the env variable needs to be named: KAFKA_CLUSTERS_0_MASKING_2_MASKING_CHARS_REPLACEMENT_X.
Documentation and code should be aligned.
Currently, I don't think KAFKA_CLUSTERS_0_MASKING_2_MASKING_CHARS_REPLACEMENT_X is an appropriate and easy to use name.
Commit hash: 56fa824
Running docker with the newest version of the code with following env variables:
KAFKA_CLUSTERS_0_MASKING_0_TYPE=MASK
KAFKA_CLUSTERS_0_MASKING_0_PATTERN_0=*
KAFKA_CLUSTERS_0_MASKING_0_PATTERN_1=*
KAFKA_CLUSTERS_0_MASKING_0_PATTERN_2=*
KAFKA_CLUSTERS_0_MASKING_0_PATTERN_3=*
KAFKA_CLUSTERS_0_MASKING_0_TOPICVALUESPATTERN=.my-secret-topic.
Not masking with **** but with the default pattern: Xxn-
No response
No response
No response
Hello,
Hope you're well, I'm trying to setup kafka-ui basic authentication, however, I don't really know how to "extrapolate" this from docker compose files or k8s as this is being setup as environment variables.
Setup is being configured in Ubuntu 22.04 (without docker or k8s files, just going through java)
/bin/java -Dspring.config.additional-location=/opt/kafka-ui/application-local.yml --add-opens java.rmi/javax.rmi.ssl=ALL-UNNAMED -jar /opt/kafka-ui/kafka-ui-api-v0.7.2.jar
AUTH_TYPE: "LOGIN_FORM"
SPRING_SECURITY_USER_NAME: admin
SPRING_SECURITY_USER_PASSWORD: pass
Could you please provide a basic working "application-local.yml" working with the mentioned variables so we can have a reference to work with?
Thanks in advance,
Regards.
Hey everyone,
regarding this file:
https://github.com/provectus/kafka-ui-docs/blob/main/quick-start/prerequisites/permissions/msk-+serverless-setup.md
you give group permissions on a topic resource:
"Sid": "VisualEditor1",
"Effect": "Allow",
"Action": [
"kafka-cluster:DeleteGroup", <== this line
"kafka-cluster:DescribeCluster",
"kafka-cluster:ReadData",
"kafka-cluster:DescribeTopicDynamicConfiguration",
"kafka-cluster:AlterTopicDynamicConfiguration",
"kafka-cluster:AlterGroup", <== this line
"kafka-cluster:AlterClusterDynamicConfiguration",
"kafka-cluster:AlterTopic",
"kafka-cluster:CreateTopic",
"kafka-cluster:DescribeTopic",
"kafka-cluster:AlterCluster",
"kafka-cluster:DescribeGroup", <== this line
"kafka-cluster:DescribeClusterDynamicConfiguration",
"kafka-cluster:Connect",
"kafka-cluster:DeleteTopic",
"kafka-cluster:WriteData"
],
"Resource": "arn:aws:kafka:eu-central-1:297478128798:topic <== the permissions are for topic
is this a mistake?
thanks a lot in advance.
Add configuration example for sticky session similar to nginx ingress to EKS and ALB ingress controller.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.