Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Kafka] Support for Azure broker.rack #31386

Open
nljakubiak opened this issue Jan 15, 2025 · 1 comment
Open

[Kafka] Support for Azure broker.rack #31386

nljakubiak opened this issue Jan 15, 2025 · 1 comment
Assignees
Labels

Comments

@nljakubiak
Copy link

Name and Version

bitnami/kafka 31.2.0

What is the problem this feature will solve?

broker.rack is able to be set only for AWS.

What is the feature you are proposing to solve the problem?

Add availability for azure.

What alternatives have you considered?

Developing solution in copied helm chart that looks like this (tested and works):
templates/scripts-configmap.yaml (right under option for "aws-az")

    {{- if eq .Values.brokerRackAssignment "azure" }}
    # Broker rack awareness
    echo "Obtaining broker.rack for Azure rack assignment"
    export LOCATION=$(curl -s -H Metadata:true --noproxy "*" "http://169.254.169.254/metadata/instance/compute/location?api-version=2023-11-15&format=text")
    export ZONE=$(curl -s -H Metadata:true --noproxy "*" "http://169.254.169.254/metadata/instance/compute/zone?api-version=2023-11-15&format=text")
    kafka_conf_set "$KAFKA_CONFIG_FILE" "broker.rack" "${LOCATION}-${ZONE}"
    {{- end }}
@carrodher
Copy link
Member

Thank you for bringing this issue to our attention. We appreciate your involvement! If you're interested in contributing a solution, we welcome you to create a pull request. The Bitnami team is excited to review your submission and offer feedback. You can find the contributing guidelines here.

Your contribution will greatly benefit the community. Feel free to reach out if you have any questions or need assistance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants