Category: Uncategorised

Spring Boot + Apache Kafka

Prerequisite: You must install and run Apache Kafka. For help with Apache Kafka installation and to run please check the post : https://technopractic.com/apache-kafka-installation/ Apache Kafka is an open-source distributed event streaming platform used by thousands of companies for high-performance data pipelines, streaming analytics, data integration, and mission-critical applications. In this post lets see how to […]

Spring Boot 3 REST API Doc + Swagger

Springdoc-openapi library helps to automote the generation of REST API documentation . For Spring boot V3 we need to use springdoc-openapi V2 .  For integration between spring-boot and swagger-ui add the below dependency . Then the swagger will be available  at http://server:port/context-path/swagger-ui.html Sample API: EmployeeController Employee Model After running the application we can view the swagger […]

Spring Webflux – File upload

In this blog lets see how to upload a CSV file through reactive REST API and to load the file contents to Couchbase DB. Create a project from start.spring.io with the following dependency opencsv is a library for reading and writing CSV in java. Add this library to the project with the below dependency Define […]