-
Notifications
You must be signed in to change notification settings - Fork 21
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
Support subject modes #397
base: main
Are you sure you want to change the base?
Conversation
I'm fighting with a failure I just can't get to the bottom of, and wanted to ask for help. Test I have narrowed the cause of the failure to the change here. What's happening is that the Executor is finishing its try-with-resources block and the client is being closed, but this happens before the call to registerSubjectVersion is finished. The change to Hopefully I'm missing something simple, but I've banged my head on this for several hours now with no luck. |
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.
Nice! Thank you very much for your contribution @minionOfZuul. For the moment everything seems OK just some very minor feedbacks ^^
/** | ||
* Schema modes | ||
*/ | ||
public enum Modes { |
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.
All classes that are serialized/deserialized must be annotated with the jikkou @Reflectable
annotation for graalvm's native image to work correctly.
@@ -9,8 +9,7 @@ | |||
import static io.streamthoughts.jikkou.core.reconciler.Operation.CREATE; | |||
import static io.streamthoughts.jikkou.core.reconciler.Operation.DELETE; | |||
import static io.streamthoughts.jikkou.core.reconciler.Operation.UPDATE; | |||
import static io.streamthoughts.jikkou.schema.registry.change.SchemaSubjectChangeComputer.DATA_COMPATIBILITY_LEVEL; | |||
import static io.streamthoughts.jikkou.schema.registry.change.SchemaSubjectChangeComputer.DATA_SCHEMA; | |||
import static io.streamthoughts.jikkou.schema.registry.change.SchemaSubjectChangeComputer.*; |
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.
please no wildcard import :)
import io.streamthoughts.jikkou.schema.registry.api.data.ErrorResponse; | ||
import io.streamthoughts.jikkou.schema.registry.api.data.SubjectSchemaReference; | ||
import io.streamthoughts.jikkou.schema.registry.api.data.SubjectSchemaRegistration; | ||
import io.streamthoughts.jikkou.schema.registry.api.data.*; |
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.
please no wildcard import :)
import static io.streamthoughts.jikkou.schema.registry.change.SchemaSubjectChangeComputer.DATA_REFERENCES; | ||
import static io.streamthoughts.jikkou.schema.registry.change.SchemaSubjectChangeComputer.DATA_SCHEMA; | ||
import static io.streamthoughts.jikkou.schema.registry.change.SchemaSubjectChangeComputer.DATA_SCHEMA_TYPE; | ||
import static io.streamthoughts.jikkou.schema.registry.change.SchemaSubjectChangeComputer.*; |
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.
please no wildcard import :)
import io.streamthoughts.jikkou.schema.registry.api.data.SubjectSchemaId; | ||
import io.streamthoughts.jikkou.schema.registry.api.data.SubjectSchemaRegistration; | ||
import io.streamthoughts.jikkou.schema.registry.api.data.SubjectSchemaVersion; | ||
import io.streamthoughts.jikkou.schema.registry.api.data.*; |
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.
please no wildcard import :)
import io.streamthoughts.jikkou.schema.registry.api.data.SubjectSchemaId; | ||
import io.streamthoughts.jikkou.schema.registry.api.data.SubjectSchemaRegistration; | ||
import io.streamthoughts.jikkou.schema.registry.api.data.SubjectSchemaVersion; | ||
import io.streamthoughts.jikkou.schema.registry.api.data.*; |
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.
please no wildcard import :)
import io.streamthoughts.jikkou.schema.registry.api.data.SubjectSchemaId; | ||
import io.streamthoughts.jikkou.schema.registry.api.data.SubjectSchemaRegistration; | ||
import io.streamthoughts.jikkou.schema.registry.api.data.SubjectSchemaVersion; | ||
import io.streamthoughts.jikkou.schema.registry.api.data.*; |
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.
please no wildcard import :)
6a1a950
to
350d439
Compare
Several more tests are needed before this work can be called complete.