skip to Main Content

Redis – Debezium spring boot configuration not able to handle events when there is a change in database

I have the following configuration setup. build.gradle: plugins { id 'java' id 'org.springframework.boot' version '3.1.0-SNAPSHOT' id 'io.spring.dependency-management' version '1.1.0' id 'org.sonarqube' version "4.0.0.2929" id "jacoco" } group = 'com.realtime' version = '0.0.1-SNAPSHOT' sourceCompatibility = '17' configurations { compileOnly { extendsFrom…

VIEW QUESTION

Mysql – JdbcBatchItemWriter Error Parameter index out of range

There's an error on using Spring batch JdbcBatchItemWriter. insert into books(order_id, order_no, paid_payment_id) values (:orderId, :orderNo, :paidPaymentId) enter image description here private JdbcBatchItemWriter<BooksEntity> booksWriter() { return new JdbcBatchItemWriterBuilder<BooksEntity>() .itemSqlParameterSourceProvider(new BeanPropertyItemSqlParameterSourceProvider<>()) .dataSource(dataSource) .sql( "insert into books(order_id, order_no, paid_at, paid_payment_id, pay_method, pay_no,…

VIEW QUESTION

Docker – Kubernetes doesn't find a jar file

I'm using this Dockerfile configuration FROM openjdk:17-alpine ARG APP_HOME=/app WORKDIR $APP_HOME COPY ./target/ws-exec.jar ws.jar ENV JAVA_OPTS="-Dspring.profiles.active=prod -Dspring.application.name=words" ENTRYPOINT java $JAVA_OPTS -jar ./ws.jar $JAVA_ARGS After deploying it to minikube, I see the only log: Error: Unable to access jarfile /ws.jar. I've…

VIEW QUESTION

How to handle a ModelAndView object with JavaScript in HTML?

i have a controller that returns a ModelAndView, this controller is called with this script: document.getElementById('history-equipment').addEventListener('click', function(event) { event.preventDefault(); // Prevent the default anchor tag behavior (e.g., navigating to a new page) const url = '/View/Student/History'; // Replace with your…

VIEW QUESTION
Back To Top
Search