Replies: 6 comments 4 replies
-
HA can be a somewhat broad topic. The easiest way to achieve HA for the registry itself is to simply start up multiple instances and point them all to the same Kafka topic. If you need more than that (multi-broker like you mentioned) then you could use MirrorMaker to duplicate the messages on the apicurio registry Kafka topic into another broker, then point additional apicurio registry instances at that. It's important to note that a broker failure would result in write operations failing in registry, but read operations would continue to work. So that might be an interesting fact depending on your specific requirements and use-cases. @carlesarnal can you answer the part about ENV vars for configuring the connection between registry and the kafka broker? |
Beta Was this translation helpful? Give feedback.
-
Many thanks @EricWittmann Regards. |
Beta Was this translation helpful? Give feedback.
-
Hello, No, not all Kafka properties can be configured right now when using the kafkasql storage. We expose some variables, expose around configuring security and certificates, you can see all of them here. |
Beta Was this translation helpful? Give feedback.
-
Getting back to this thanks to the other GH issue, @AlbaFS you're allowed to point each consumer to the replica you need since the data is actually replicated across each instance as long as they use the same kafka topic. That said, the recommended approach is indeed to configure a load balancer in front of the Registry instances to handle the load between them. As Eric pointed out, if you want to use different Kafka topics then there are more things to take into consideration. |
Beta Was this translation helpful? Give feedback.
-
@EricWittmann Example of this situation:
Another situation is when we have multiple producents sending (and registering) records with same schema. Example: Flink job with parallelism > 1. |
Beta Was this translation helpful? Give feedback.
-
@EricWittmann, I think it should be included in official documentation but eventually Google will index it here :) |
Beta Was this translation helpful? Give feedback.
-
Hello
We are testing up in our dev environment apicurio for kafka.
I would like to ask how to achieve HA runing multiple instances of apicurio in a multibroker, multinode set up.
As well as, where I can find all the configuration properties that can be passed as environment variables (docker-compose) does it support all the kafka properties but in capital letters and underscore?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions