-
Notifications
You must be signed in to change notification settings - Fork 68
Pulsar Reader (imperative) Boot properties support #327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pulsar Reader (imperative) Boot properties support #327
Conversation
private String subscriptionRolePrefix; | ||
|
||
/** | ||
* If enabled, a consumer reads messages from a compacted topic rather than a full |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For boolean config props so far we have used the form "Whether to " such as
* Whether to read messages from the compacted topic rather than the full message
* backlog.
public static class Reader { | ||
|
||
/** | ||
* Topic name. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[NIT] there can be multiples
...oconfigure/src/test/java/org/springframework/pulsar/autoconfigure/PulsarPropertiesTests.java
Show resolved
Hide resolved
@@ -511,7 +511,7 @@ class ReaderPropertiesTests { | |||
void readerProperties() { | |||
Map<String, String> props = new HashMap<>(); | |||
|
|||
props.put("spring.pulsar.reader.topic-names", "my-topic"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, sorry @sobychacko - I should have clarified. I meant that we typically use the relaxed named binding on the "left hand side" as that is typically what peepz will use in yml so it theoretically helps catch that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM @sobychacko !
No description provided.