Closed Paganele closed 7 months ago
Hi,
Could you share your values.yaml file so we can easily reproduce the issue?
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.
Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.
Hi,
Could you share your values.yaml file so we can easily reproduce the issue?
Hi, i am encountering the same issue. i have sasl running just fine but i dont know where to change to add acl. I tried:
I modified the extra config section for acl but when I log the controller, the authorizer.class.name is set to nothing and the server.properity did not add the acl configs
advertised.listeners = CLIENT://kafka2-controller-2.kafka2-controller-headless.fenton-neuroscience.svc.cluster.local:9092,INTERNAL://kafka2-controller-2.kafka2-controller-headless.fenton-neuroscience.svc.cluster.local:9094
alter.config.policy.class.name = null
alter.log.dirs.replication.quota.window.num = 11
alter.log.dirs.replication.quota.window.size.seconds = 1
authorizer.class.name =
auto.create.topics.enable = true
auto.include.jmx.reporter = true
auto.leader.rebalance.enable = true
background.threads = 10
broker.heartbeat.interval.ms = 2000
broker.id = 2
Hi @kg3354, thank you for sharing the parameters. What is the specific Chart version you are using?
Hi @kg3354, thank you for sharing the parameters. What is the specific Chart version you are using?
Hi, I am using Helm Chart Version 3.6.1 and Kafka 26.8.5
Hi @kg3354, thank you for sharing the parameters. What is the specific Chart version you are using?
Hi, is there any other parameters I should share?
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.
Hi is there any updates
Hi, I'm not sure how to reproduce your issue. The most simple check I can think of is to render the Helm template:
$ helm template bitnami/kafka -f values.yaml -s templates/controller-eligible/configmap.yaml
---
# Source: kafka/templates/controller-eligible/configmap.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: release-name-kafka-controller-configuration
namespace: "default"
labels:
...
data:
server.properties: |-
# Listeners configuration
...
# End of SASL JAAS configuration
allow.everyone.if.no.acl.found: false
authorizer.class.name: org.apache.kafka.metadata.authorizer.StandardAuthorizer
super.users: User:user1
As you can see, the properties that you are providing in the extraConfig
paramater are there. Please note that Kafka properties should be separated by =
and extraConfig
should be a string.
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.
Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.
Good afternoon. Faced with the same problem, please tell me how it was solved?
Name and Version
bitnami/kafka 26.3.1
What architecture are you using?
amd64
What steps will reproduce the bug?
I tried to add string authorizer.class.name=org.apache.kafka.metadata.authorizer.StandardAuthorizer to server.properties for using ACLs as described here: https://kafka.apache.org/documentation/#security_authz
via extraConfig in values.yaml . I installed chart in EKS cluster using
Are you using any custom parameters or values?
@param extraConfig Additional configuration to be appended at the end of the generated Kafka configuration file. extraConfig: authorizer.class.name=org.apache.kafka.metadata.authorizer.StandardAuthorizer
What is the expected behavior?
I have no name!@kafka-test-controller-0:/$ tail -1 /opt/bitnami/kafka/config/server.properties authorizer.class.name=org.apache.kafka.metadata.authorizer.StandardAuthorizer
What do you see instead?
I have no name!@kafka-test-controller-0:/$ tail -1 /opt/bitnami/kafka/config/server.properties End of SASL JAAS configuration
Additional information
No response