-
Notifications
You must be signed in to change notification settings - Fork 119
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
Schema Registry and Bridge Deployment Scaling #650
Comments
Why do you think setting the schame regitry options is enough? I would expect it to be more complicated. I don't follow your point about the |
@scholzj Yes but the strimzi operator sets always the same id. Confluent documentation about the id:
|
No, Strimzi has nothing to do with Confluent. It is a CNCF open source project. This is the Strimzi Kafka Bridge which is our own bridge. |
@scholzj Ok thank you for the reply, I assumed its a confluent rest proxy fork I have then two wishes on the bridge :D
|
Schema registry is covered in #460. So it does not need another issue. As for the second point, I don't follow what you are asking for. Please explain the use-case and why does it not work today. |
Use Case: Scaling the bridge Currently not possible with a heartbeat and rebalance failure |
I'm not sure how this helps with scalability. Also without the full logs it is not clear what the actual issue is. If you want two consumers use the same group, there might be rebalances which stop them, that is how the Kafka client works. |
@djakupovic anything more to add to what Jakub was asking for? or we can close this one? |
@djakupovic after a long time of inactivity I am going to close this one. Let us know if you want to reopen and still need help. |
Hi,
we need to make the http bridge compatible with the schema registry to ensure schema evolution and schema validity.
The config of the strimzi bridge is located at /tmp and the generating script at /opt/strimzi/bin/docker/kafka_bridge_config_generator.sh
BRIDGE_PROPERTIES=$(cat <<-EOF
#Bridge configuration
bridge.id=${KAFKA_BRIDGE_ID}
${BRIDGE_TRACING}
EOF
)
The id is fixed, so if we scale the spec replica the id stays the same for each replica. Does this need to be a unique id for each consumer?
We need more settings to set "schema.registry.url"
The schema.registry.ssl.* settings could be set with another loop
if [ "$KAFKA_SCHEMA_REGISTRY_TLS" = "true" ]; then
SCHEMA_REGISTRY_CONFIGURATION=$(cat <<EOF
#SCHEMA REGISTRY
schema.registry.ssl.key.password=
schema.registry.ssl.keystore.location=
schema.registry.ssl.keystore.password=
schema.registry.ssl.truststore.location=
schema.registry.ssl.truststore.password=
EOF
)
if http/amqp is disabled, do not print its configuration
PROPERTIES=$(cat <<EOF
$BRIDGE_PROPERTIES
$SCHEMA_REGISTRY_CONFIGURATION
...
EOF
)
The text was updated successfully, but these errors were encountered: