Closed jelledv closed 1 year ago
I think I’m experiencing the same error, comments on Slack indicate we might need to use the Confluent one
This issue is stale because it has been open for 30 days with no activity. If you believe this is still an issue on the latest DataHub release please leave a comment with the version that you tested it with. If this is a question/discussion please head to https://slack.datahubproject.io. For feature requests please use https://feature-requests.datahubproject.io
This issue was closed because it has been inactive for 30 days since being marked as stale.
Describe the bug After upgrading to the latest Datahub version (0.10.5) from version 0.10.1 we cannot get the GMS backend up and running when using AWS_GLUE as the kafka schema registry option. I get the error:
You can see that the backend component tries to connect to localhost:8081, which is the port of the Confluent schema registry.
It looks like the "isSchemaRegistryAPIServeletReady" is getting started with any spring event originating from the WebApplicationContext. You can see this happening in the screenshot from the logs of the GMS component, and also in the code https://github.com/datahub-project/datahub/blob/master/metadata-service/factories/[…]/java/com/linkedin/metadata/boot/OnBootApplicationListener.java The check is getting initialized, even before the "schemaRegistryServlet" is initialised. I also don't get why this schemaRegistryServlet bean is getting registered , it has the condition
@ConditionalOnProperty(name = "kafka.schemaRegistry.type", havingValue = InternalSchemaRegistryFactory.TYPE)
on it, while I haveThe Datahub system update job, as well as the MAE and MCE consumers were also failing initially because the Glue configuration in the
values.yml
was commented out:We could fix those 3 components by providing the Spring configuration property directly with environment variables:
However, the above workaround did not work for the GMS backend component.
It looks like the AWS Glue Schema registry option was commented out in the
application.yml
properties file: link to codeTo Reproduce Steps to reproduce the behavior:
Expected behavior GMS backend running correctly
Screenshots Here is a screenshot where I see the "isSchemaRegistryAPIServeletReady" getting called, despite not using the "INTERNAL" schema registry option. I think this is not correct.
Additional context helm chart version: 0.2.181