I use this logback appender to send logs to Kafka: https://github.com/danielwegener/logback-kafka-appender When Kafka was PLAINTEXT everything worked correctly.
My RestClient is annotated by a custom annotation and I want to get the annotation value in a ClientRequestFilter. Here is my MicroProfile RestClient: @Path("/g
I want to create a button that after clicking this button will be not clickable for 1 min, but after restarting a program, this button is clickable cuz i didn't
We do use an SQS to receive notifications from S3, but for some reason we receive the exact same message again and again. Seems like the message never gets dele
I have a spring-boot server which only accepts https requests, the point is that I need it to be able to communicate with the client (android) using SSE. I have
Free checkout. The fast food restaurant has several cash desks. Customers stand in line at a particular cash desk, but can move to another que
I want to detect changes inside a directory, so I implement by using WatchService public class DirWatcher implements Runnable { private Path path; priv
I know that TreeSet in Java sort its elements in ascending order. For integer it would be 1, 2, 3, 4, 5, for String it would be alphabetical. However, what if I
I am building a spring-batch solution that contains the following process: step 1 : split a list into multiple lists step 2 : process each sub-list step 3 :
I am currently creating a Java Spring application that works with the spring security JWT. Everywhere I look and read about the "secret string", it says should
I have a RecyclerView in a Fragment. Also I have an AsyncTask which updates items of RecyclerView from background thread. The problem is when I rotate the devic
I have an API that returns a parent with its children, I need to implement that in java 8 to be able to return them as below: A -> has B as Child, and C as C
I am trying to check the values of a comparable method and assign the 1 and -1 value to true and false. I made a simple if else statement that does just that b
I am trying to modify out Java/Spring Framework web application to retrieve the Oracle database password from the JBOSS Password vault Currently, Our mvc-dispat
I´m using Apache poi (XWPF) with Springboot in java 11. I need to extract the section number 2 (title and content) from a word document with the follow nu
The first method works but the second method keeps returning a null object. I don't see any difference except that flight_no is the primary key. What went wrong
im trying to remove a session variable using the c:remove or c:set to ${null} but it did not work. I'm expecting the variable will be removed once I refresh the
I built a camel route that unmarshals a csv file using camel bindy and writes the contents to a database. This works perfectly apart from when the file is empty
So I'm trying to implement Dijkstra's algorithm. I understand Dijkstra's works, but I struggle to turn the concept into code. I have what I thought would be the
I have this table, where there are several entries with an orderID. To show more informations about the entry, you can click on the but Is this think doable w