Closed derickmr closed 1 year ago
Thank you for reporting an issue!
Pinging @jsenko to respond or triage.
Hi @EricWittmann, @carlesarnal, @jsenko - have you had the chance to take a peak on this?
Hi @derickmr , I'll take a look in the next few days, sorry for the delay.
I'm sorry I got distracted by other tasks and this got delayed 😞 , still on my TODO, I'll eventually go through it!
Thanks @andreaTP! One related question I have - do you know if the topic that will receive the registry events need to have only 1 partition set for ordering purposes? Or that's not the case here?
I started looking into this, finally ... Early findings:
do you know if the topic that will receive the registry events need to have only 1 partition set for ordering purposes?
no, this is not required as far as I understand it now.
There is an initialization ordering issue where:
EventSourcedRegistryStorage.isEnabled()
get's checked by RegistryStorageProducer
beforeEventsServiceImpl.init
event is fired and configuredSinks
is not yet setThanks for reporting this issue @derickmr !
I found a bug in the singletons initialization order and, hopefully, is fixed with my PR.
To let you test I uploaded a kafkasql
container image with the fix at these coordinates: docker.io/andreatp/apicurio-registry-kafkasql:issue3482
Please let me know if this solves your problem!
Thanks @andreaTP. I'll test it with the custom image and get back to you. Appreciate your help
Hi team.
Not sure whether this is a bug or just a misconfiguration on my end.
I have configured Apicurio Event Sourcing based on the docs. However, whenever I do an action in the registry (create/delete/update an artifact, or anything else), no data is published. I see no logs of event being fired on Apicurio side, and using kcat to tail the topic, no data is published on the topic I specified.
I am running the stack on my local machine via Docker. Apicurio version is 2.4.2.Final using the KafkaSQL distribution. This is my docker-compose configuration for the Apicurio Registry:
On startup, I can see the Sink subscribing to the Kafka Sink:
I also tried to do the HTTP configuration, and I got the same behavior: nothing happened.
With the DEBUG log level enabled, this is the output I get:
Steps to reproduce would be run Apicurio Registry with above configuration while running a Kafka cluster, do any relevant operation (create new artifact, for example), and see no data being published to the topic.
Please let me know if you need any extra information from my side, glad to assist.