Open brendanator opened 2 days ago
@sourcery-ai plan
Publisher
class to handle database event publishingpostevent.<topic>
tablesrc/main/java/com/p14n/postevent/Publisher.java
Publisher
class with generic type parameter T
jdbcUrl
, username
, and password
parameterspublish
method that accepts a topic
string and generic type T
objectjava.util.logging.Logger
try-with-resources
src/test/java/com/p14n/postevent/PublisherTest.java
EmbeddedPostgres
and DatabaseSetup
./gradlew test
- ❌This plan was automatically generated. Please review the plan carefully and make any necessary adjustments.
The method should
The method should live in a new Publisher class