Spring Boot Project using Kafka and R2DBC (Part IV)

Gabriel Martins
Apr 29, 2021

Now, let’s create the web classes that will be used to map requests to domain classes.

DTO Classes

The PersonDTO class:

The ErrorDTO class:

Mapper Classes

The PersonWebMapper class:

Controller Classes

The SavePersonController class:

The ExceptionHandlerController class:

Configuration Classes

To configure some features such as pagination, we can create the following class:

Related Links

Previous Tutorial: Tutorial Part III

Next Tutorial: Tutorial Part V

--

--

Gabriel Martins

Just a brazilian guy who loves technology and wants to share the experiences he has learned