-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Producer doesn't need db, hence removing it
- Loading branch information
1 parent
f7b2d73
commit 99842dd
Showing
14 changed files
with
30 additions
and
231 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
kafka-reactor/boot-kafka-reactor-consumer/src/main/resources/application.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...afka-reactor-producer/src/main/java/com/example/boot/kafka/reactor/entity/MessageDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
package com.example.boot.kafka.reactor.entity; | ||
|
||
import com.fasterxml.jackson.annotation.JsonIgnore; | ||
import jakarta.validation.constraints.NotBlank; | ||
import java.time.LocalDateTime; | ||
import org.springframework.data.relational.core.mapping.Table; | ||
|
||
@Table(name = "messages") | ||
public record MessageDTO(Long id, @NotBlank(message = "Text Value Cant be Blank") String text, LocalDateTime sentAt) {} | ||
public record MessageDTO( | ||
@JsonIgnore Long id, @NotBlank(message = "Text Value Cant be Blank") String text, LocalDateTime sentAt) {} |
6 changes: 0 additions & 6 deletions
6
...r-producer/src/main/java/com/example/boot/kafka/reactor/repository/MessageRepository.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 0 additions & 9 deletions
9
kafka-reactor/boot-kafka-reactor-producer/src/main/resources/application-local.properties
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
...ctor/boot-kafka-reactor-producer/src/main/resources/db/changelog/db.changelog-master.yaml
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
...ka-reactor-producer/src/main/resources/db/changelog/migration/01-create-message-table.xml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.