150,916 questions
0
votes
0
answers
40
views
Kafka is not consuming/Receiving the messages from my KafkaProducer
I have a SpringBoot application that connects to a Kafka broker and produces messages to a configured Kafka topic. I have first of all a SenderComponent which schedules tasks based on a cron ...
-4
votes
1
answer
67
views
Error parsing HTTP request header Note: further occurrences of HTTP request parsing errors will be logged at DEBUG level
Using Spring Boot 3.5.4, I am facing the below issue. My request contains Arabic characters in query param, for example: 2/أ. Everything works fine when there is no Arabic character, like this: 2/2.
I ...
-6
votes
0
answers
39
views
function st_makeenvelope(double precision, double precision, double precision, double precision, integer) does not exist [closed]
function st_makeenvelope(double precision, double precision, double precision, double precision, integer) does not exist
Hint: No function matches the given name and argument types. You might need to ...
0
votes
0
answers
20
views
Springboot Web mapping same controller as 2 beans
I'm generating controller code from openapi3 spec using gradle openapi generator plugin 6.3.0.
Generate, compile works fine, but getting a runtime error:
Caused by: java.lang.IllegalStateException: ...
0
votes
0
answers
15
views
Failed to send metrics to datadog: Payload too big
I'm using Micrometer 1.12.13 in a Spring Boot 3 project, with spring boot auto configured DatadogMeterRegistry to export metrics. My code looks like this:
MeterRegistry.counter("metric-name",...
0
votes
2
answers
55
views
Packaged SpringBoot jar is missing the slf4j libraries, other ways of building work
I have a Maven SpringBoot application with source language Java 21. I think there is something wrong with adding my libraries in the classpath of my generated jar file. When I execute mvn package or ...
0
votes
1
answer
44
views
What appoaches exist to process transactional outbox table?
I want to use transaction outbox pattern.
Fitst of all I've created outbox table with id, payload and status in my postgreSql
I have multi node spring boot application
I want to write smth like this:
@...
2
votes
0
answers
48
views
Postgres container password authentication failed for user "admin"
I am building a microservices application using Spring Boot, and I am running two distinct postgres containers on docker for two of the microservices running on my local machine (Windows 10). The ...
0
votes
0
answers
43
views
Getting java.lang.OutOfMemoryError: Java heap space with org.eclipse.paho.mqttv5.client.internal.ClientState
Memory Dump Screenshot
When I run my springboot app for some time, I get java.lang.OutOfMemoryError: Java heap space
Seems that the size of org.eclipse.paho.mqttv5.client.internal.ClientState keep ...
1
vote
0
answers
37
views
How to isolate code coverage to specific interactions, excluding Spring Boot startup, in IntelliJ Ultimate?
I want to use IntelliJ IDEA Ultimate's "Run with Coverage" on a Spring Boot app to see which lines are executed during manual testing (e.g., hitting an endpoint with Postman).
My goal is to ...
0
votes
0
answers
25
views
RestAssured throws HttpResponseException on 422 Unprocessable Entity instead of allowing assertions
I'm facing a persistent issue with RestAssured where it throws an io.restassured.internal.http.HttpResponseException for a 422 Unprocessable Entity response, preventing my test from reaching the ...
1
vote
0
answers
29
views
ClientAuthenfication implementation issue Spring Cloud Vault token
I am currently working on a very starter for Spring Cloud Vault, because of autoconfiguration capabilities offered and the possibility to inject secrets in the environment bean at runtime. My ...
2
votes
0
answers
56
views
+50
Is this the correct way to use Reactive Redis in Spring Boot with Kotlin?
I'm implementing a reactive Redis cache service in Spring Boot with Kotlin using coroutines. I want to make sure I'm following best practices and handling the reactive streams correctly.
My Current ...
1
vote
1
answer
43
views
Do I need both Jedis and Lettuce connection factories in Spring Boot with Redis OM?
I'm using Spring Boot with Redis for caching and Redis OM Spring for document operations. My current configuration has both JedisConnectionFactory and LettuceConnectionFactory, but I'm getting startup ...
0
votes
1
answer
41
views
ConflictingBeanDefinitionException: Annotation-specified bean name for bean class conflicts [closed]
org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name
'' for bean class [] conflicts with existing, non-compatible bean definition of same name and ...