Skip to main content
-2 votes
0 answers
19 views

Name has no usable address jdk17

After migrating to jdk 17, when trying to access outside API we are getting below error:- 2025-06-23T14:55:06.612Z|af862f71-5174-4cc5-afca-abfa3de031e9|c.a.e.mso.adapters.pinc.polling....
Shubham Shekhar's user avatar
0 votes
0 answers
13 views

Create an extra trace representing the "time spent inside Kafka" using Spring Kafka / OpenTelemetry

I'm working with a Spring Boot Kafka consumer that uses OpenTelemetry for tracing. Currently, I have a single span that covers the entire message processing, but I want to create a separate, an extra ...
PatPanda's user avatar
  • 5,318
0 votes
0 answers
9 views

How to add request header values as attribute to a Span?

The OTLP agent has a feature where you can add the values of request headers to a span as an attribute automatically through some configuration. How would you achieve this when using the tracing ...
Michael McFadyen's user avatar
0 votes
1 answer
9 views

Setting userId to keycloak access token

I'm working with Keycloak (version 21.1.1) and a Spring Boot backend. My goal is to include a custom claim called userId in the Keycloak access token. I already configured a User Attribute mapper in ...
Tatu's user avatar
  • 1
0 votes
0 answers
33 views

Thymeleaf: Showing global attribute at footer snippet

Using Java 17, Maven 3.9.10, Spring-Boot 3.5.3 and the dependency spring-boot-starter-thymeleaf, I would like to create some web pages for this service. I am using the standard approach of thymeleaf: ...
Alex's user avatar
  • 473
0 votes
0 answers
9 views

How to handle follow-up confirmations in Spring AI 1.0.0 without losing context during tool selection using RAG?

I'm building a web application using Spring Boot 3.4.5 and Spring AI 1.0.0 with Llama3.2(Ollama) model integration. I've implemented tool calling, and because I have many tools in the application, I'm ...
Sarath Molathoti's user avatar
0 votes
0 answers
26 views

Combining Jackson2JsonEncoder KotlinSerializationJsonDecoder spring-boot-4

We are building against spring boot 4 and spring 7. We are having a kotlin micro service which will use KotlinX and at the same time we are consuming it via Java client which is using Jackson. In ...
Alexander Petrov's user avatar
0 votes
0 answers
17 views

AppDynamics is not working with Servlet Filters

I am facing strange scenario after adding servlet filter in our Spring boot Application. Before adding servlet fiters we were able to see all the endpoints getting call on AppDynamics. But as soon as ...
Ajay Sharma's user avatar
0 votes
1 answer
20 views

ForkJoinPool Using AppClassLoader + ClassNotFoundException Spring Boot

When using a Kafka producer via a third party library in a Spring Boot application packaged as a fat JAR, Kafka's StringSerializer (and other Kafka classes) are not found in async threads spun off by ...
Mason's user avatar
  • 1
1 vote
1 answer
42 views

Inserts not batched in JPA Spring Boot 2.7, getting one insert per record

If you need to insert, say, 350,000 rows, doing 350,000 separate inserts will incur a lot of network overhead. Beter is to do a smaller number of batch inserts, e.g instead of: insert into player(...
John Little's user avatar
  • 12.7k
0 votes
2 answers
52 views

How to choose which scheduled task runs in Spring

I have two @Sheduled tasks in Spring-Boot that might overlap. One that runs weeks and one that runs monthly. How can I ensure, that on the days they overlap only the monthly job runs? @Scheduled(...
Working Title's user avatar
0 votes
1 answer
43 views

How to get spring boot + jpa to do batch insert without doing a select for every row with a composite key

We have data we want to insert into a freshly truncated table, around 350k rows. Using saveAll(players) results in a redundant select statement for every player. We don't want it to do a select ...
John Little's user avatar
  • 12.7k
0 votes
0 answers
20 views

junit-standalone-console-platform problem with application.properties

I have a problem with reading application.properties by @SpringBootTest when I start it with a command: java "-Dfile.encoding=UTF-8" "-Dallure.results.directory=config/reports/allure&...
Adam Jędrzejko's user avatar
0 votes
0 answers
29 views

Inconsistent update behavior with R2DBC and PostgreSQL: returns Successfully updated campaign 0197bf72b3-92ef-ebe128bdb15e rows affected 0: MDC: {}

Background I'm a beginner with Apache Pekko and R2DBC, working on a reactive application using pekko-persistence-r2dbc with a PostgreSQL database hosted on AWS RDS). My application processes events ...
Aryan Dwivedi's user avatar
0 votes
0 answers
14 views

Lettuce: AWS Elasticache: JSON MSET behaviour

We are using Lettuce java client to connect to AWS Elasticache (Valkey engine, Serverless, version 8.0) from Java springboot application (JDK 17 & springboot version 3.2.5) Below is the method ...
alex's user avatar
  • 179

15 30 50 per page
1
2 3 4 5
10067