-
Notifications
You must be signed in to change notification settings - Fork 3.3k
fix(spring): refactor spring configuration #10290
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
fix(spring): refactor spring configuration #10290
Conversation
| stopOnDeserializationError: ${KAFKA_CONSUMER_STOP_ON_DESERIALIZATION_ERROR:true} # Stops kafka listener container on deserialization error, allows user to fix problems before moving past problematic offset. If false will log and move forward past the offset | ||
| healthCheckEnabled: ${KAFKA_CONSUMER_HEALTH_CHECK_ENABLED:true} # Sets the health indicator to down when a message listener container has stopped due to a deserialization failure, will force consumer apps to restart through k8s and docker-compose health mechanisms | ||
| schemaRegistry: | ||
| # type: ${SCHEMA_REGISTRY_TYPE:INTERNAL} # INTERNAL or KAFKA or AWS_GLUE |
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.
Commented lines can be removed
| import org.springframework.web.context.support.HttpRequestHandlerServlet; | ||
| import org.springframework.web.servlet.DispatcherServlet; | ||
|
|
||
| /** This class is before Spring Context is loaded, previously web.xml based */ |
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.
🥳 🥳
RyanHolstien
left a comment
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.
😄
7051917 to
0d09e84
Compare
0d09e84 to
b199973
Compare
b199973 to
3f4cb59
Compare
* Separated schema registry from common dispatcher * Remove unneeded dependencies on spring boot * Remove unneeded spring actuators from library modules * ObjectMapper bean created * Optimized GMS component scan (avoid scanning all factories) * Remove unneeded references to application.yaml * .yml -> .yaml (handle deprecated extension) * Remove imports on schema registry factories * web.xml (xml configs in general) removed
85ea1a3 to
a391f99
Compare
Checklist