Skip to content

@KafkaPublisher support for custom methods #236

Open
GoodforGod opened this issue Aug 3, 2023 · 0 comments
Open

@KafkaPublisher support for custom methods #236

GoodforGod opened this issue Aug 3, 2023 · 0 comments
Assignees
Labels
module: kafka Related to module - kafka new feature New feature
Milestone

Comments

@GoodforGod
Copy link
Contributor

Feature will allow users to create custom methods that are analogs to @KafkaListener ones but for producer

This will allow for easier use of @KafkaPubisher with ability to specify configuration path for topic in annotation on method to fix this producers method for declared topic only

@KafkaPublisher("test")
public interface TestProducer extends Producer<String,String> {

   @KafkaPublisher.Topic("path.for.topic.in.config")
   void send(String key, String value, Headers headers);
}
@GoodforGod GoodforGod added the new feature New feature label Aug 3, 2023
@GoodforGod GoodforGod added this to the 1.0.0.RC1 milestone Aug 3, 2023
@GoodforGod GoodforGod self-assigned this Aug 3, 2023
@GoodforGod GoodforGod added the module: kafka Related to module - kafka label Aug 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
module: kafka Related to module - kafka new feature New feature
Projects
None yet
Development

No branches or pull requests

1 participant