-
Notifications
You must be signed in to change notification settings - Fork 60
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
Issue promote topic email #1349
Conversation
…stored in the DB Signed-off-by: Aindriu Lavelle <aindriu.lavelle@aiven.io>
Signed-off-by: Aindriu Lavelle <aindriu.lavelle@aiven.io>
Signed-off-by: Aindriu Lavelle <aindriu.lavelle@aiven.io>
Signed-off-by: Aindriu Lavelle <aindriu.lavelle@aiven.io>
core/src/main/java/io/aiven/klaw/dao/migration/MigrateData2x4x0.java
Outdated
Show resolved
Hide resolved
core/src/main/java/io/aiven/klaw/dao/migration/MigrateData2x4x0.java
Outdated
Show resolved
Hide resolved
core/src/main/java/io/aiven/klaw/dao/migration/MigrateData2x4x0.java
Outdated
Show resolved
Hide resolved
tenantId); | ||
schemaObjects = getSchemaFromAPI(topicNameSearch, tenantId, kwClusters); | ||
if (schemaObjects != null) { | ||
for (MessageSchema messageSchema : topicSchemaVersionsInDb) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can this be empty in this else block ? do we need this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should technically throw an exception if the api fails to retrieve the data but I feel like it is safer to keep it in.
Signed-off-by: Aindriu Lavelle <aindriu.lavelle@aiven.io>
Signed-off-by: Aindriu Lavelle <aindriu.lavelle@aiven.io>
…o the db. Signed-off-by: Aindriu Lavelle <aindriu.lavelle@aiven.io>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm, thanks
Signed-off-by: Aindriu Lavelle <aindriu.lavelle@aiven.io>
About this change - What it does
Adds a specific subject and message for promotion and update of topic requests.
Resolves: #1266
Why this way