Comments (4)
It does, yeah. Works perfectly, we're able to remove a bunch of custom parsing/file writing at startup thanks to this.
from spring-boot.
The values of the spring.kafka.ssl.key-store-location
and spring.kafka.ssl.trust-store-location
properties are passed to the Apache Kafka Java client library, which expects them to be file locations. Changing those properties to accept Base64-encoded strings would require a change to the Apache Kafka library, not just to Spring Boot.
Instead of using those properties, you can define an SSL bundle (which supports the base64:
resource prefix), and then apply that bundle to the Kafka connection using the spring.kafka.ssl.bundle
property instead of the discrete spring.kafka.ssl.*
properties. The spring.kafka.ssl.bundle
property is available as of Spring Boot 3.2.
from spring-boot.
@scottfrederick should JksSslBundleProperties.Store.location
be updated to be a Resource object instead of a string then?
from spring-boot.
should
JksSslBundleProperties.Store.location
be updated to be aResource
object instead of a string
No, that's not necessary. The string value is loaded as a resource when necessary. Did you try it to see if this works as a base64:
resource?
from spring-boot.
Related Issues (20)
- Image building requires builder to specify a stack
- spring-boot-starter-parent:3.3.0 java 22 threads.virtual NOT WORKING HOT 7
- Switch to Tomcat's new setter to set the maximum queue size
- java.lang.NoClassDefFoundError: org.apache.commons.collections.FastHashMap HOT 1
- Upgrade to Hibernate 6.4.9.Final
- Upgrade to Infinispan 14.0.29.Final
- Service connection for bitnami mongodb fails to connect
- Use organization level CODE_OF_CONDUCT
- `:` characters are removed from `application.yaml` keys in mapped values when using `@ConfigurationProperties` HOT 3
- MongoHealthIndicator not compliant with Mongo stable API with strict setting HOT 5
- System.exit(SpringApplication.exit(ctx, () -> 42)); does not reliable exit with status 42 HOT 3
- Upgrade from 3.2.5 to 3.2.6 or 3.3.0 throws AoP Exception on startup HOT 1
- MongoHealthIndicator not compliant with Mongo stable API with strict setting
- Use organization level CODE_OF_CONDUCT
- OpenTelemetryMetricsContainerConnectionDetailsFactoryIntegrationTests is flaky when running locally HOT 3
- Spring Boot remote restart with devtools causes 'factory already defined' Tomcat error when running with 'java -jar'
- Tests in DelegatingFilterProxyRegistrationBeanTests are non idempotent
- Git instant properties cannot be coerced following git-commit-id Maven plugin upgrade HOT 2
- Unable to start Redis with Spring Actuator HOT 2
- Document more precisely how a Container's Docker image name is used to find the matching service connection HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-boot.