Skip to main content
0 votes
0 answers
26 views

Correct combination/versions of Spring Boot, Camel and Kafka in pom.xml for java 21

We have an old maven project built with java 8. It's working fine. Now we're upgrading to java 21, and updated pom.xml as follows. Spring Boot 3.5.6 Camel 4.15.0 Kafka 3.8.0 The jar was built with ...
H. Bear's user avatar
0 votes
0 answers
12 views

Spring 3.3 migration. Cannot resolve reference to bean jpaSharedEM_entityManagerFactory

I'm migrating from Spring 2.7 to Spring 3.3.13. This means that i'm migrating even from Hibernate 5 to Hibernate 6. I'm having an annoying problem when i start my Spring Application about the ...
Removed's user avatar
  • 108
1 vote
0 answers
35 views

Why is Spring attempting to use a read-only transaction when I explicitly requested a new write transaction?

I have a service method that performs the following operations in sequence: Calls a read method annotated with a custom read-only transaction annotation (equivalent to @Transactional(readOnly = true))...
Rorschach's user avatar
0 votes
0 answers
50 views

WebClient sending an empty multipart request to Flask service

I have a problem with sending multipart/form-data requests from my Java service (using WebClient but same history with RestTemplate) to Flask service. It seems like a sent body is just empty as I get ...
Ania Fijałkowska's user avatar
0 votes
0 answers
39 views

403 Unauthorized for JS files but everything else works

Can someone help me out why nginx returns a 403 Unauthorized for .js files, but other files work: I have a file /etc/nginx/sites-available/my-server.nl: server { listen 80 proxy_protocol; ...
Yaris van Thiel's user avatar
-1 votes
0 answers
26 views

How to download files that have ABFSS protocol using Java from Azure Storage?

I want to read contents from a particular file held in the ADLS. The URL for retrieving a file looks like this abfss://[email protected]/folderone/somefile.json How do I read the ...
Mykoliux's user avatar
  • 161
0 votes
0 answers
21 views

Blind SSRF on Sensitve Headers on Spring Boot Rest API

I have written my Spring Boot security configuration like this: @Bean public SecurityFilterChain securityFilterChain(HttpSecurity httpSecurity) throws Exception { DefaultBearerTokenResolver ...
hell_storm2004's user avatar
1 vote
0 answers
38 views

Ack messages with StreamBridge::send and Kafka

Context. I have to use StreamBridge::send() with Kafka. This is a hard, external requirement. The call itself looks like streambridge.send(binding, message). All good. To capture the non-immediate ...
wojas's user avatar
  • 183
0 votes
0 answers
44 views

Springboot/Tomcat Accepts Expired Certs

I have a couple of basic Springboot SSLBundle REST client and server applications using default settings - no customized ssl factories or anything. Everything works fine, i.e. they communicate, will ...
stackbacker's user avatar
1 vote
1 answer
57 views

keycloak frontend backend network configuraion in docker compose for localhost

I'm running keycloak, next js, and spring boot app using docker compose. Right now I'm having issue in setting up network configurations, usually either I'm getting issuer mismatch in the backend, or ...
Vimal Kumar's user avatar
1 vote
0 answers
62 views

How to pass client location into custom JPA ID generator?

Working on a scalable custom ID generator in JPA. The format I want to achieve is: <first three letters of country or region> + <year> + <sequence number> For example: USA2025001 I'm ...
RaviSai1819's user avatar
1 vote
0 answers
46 views

Could not instantiate KafkaProperties

I'm migrating from Spring Boot 2 to Spring Boot3, i'm NOT migrating to Sprinc Cloud 4 but i will stay to SpringCloud 3 (i know Spring Boot 3 is mandatory if you want to use Spring Cloud 4 but not the ...
RemovedQuasar's user avatar
-2 votes
0 answers
21 views

Spring Native Integration Test

Spring Native Testing - Test Configuration File Not Found I'm working on Spring native testing. I want to run my existing integration tests natively. For this, I'm using the -P nativeTest profile, ...
Neslihan Kolukısa's user avatar
1 vote
1 answer
54 views

Should I create a separate Integration Event when using the Outbox Pattern in a DDD-based microservice? [closed]

I’m building a Java microservice using Spring Boot 3.5.7, Kafka, and the Outbox Pattern. In my domain layer, I raise a domain event: package com.turkcell.reservation_service.domain.event; import com....
Nur Sultan ASLAN's user avatar
-3 votes
0 answers
35 views

Async Events telemetry tracing problem because of batching of events

I'm implementing Telemetry in my Spring Boot web app using OpenTelemetry instrumentation. All is fine except when dealing with async events. When I produce/publish, for example 100 events - all ...
Aatif Rafiq's user avatar

15 30 50 per page
1
2 3 4 5
10048