Skip to content

Commit bf6e507

Browse files
authored
Use SubscriptionBuilder.properties() to set property supplier (#206)
When user instantiates `ProcessorSubscription` using `SubscriptionBuilder`, it seems appropriate to use `SubscriptionBuilder.properties()` to set property supplier, rather than using `props.setBySupplier()` directly.
1 parent 702ca43 commit bf6e507

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/dynamic-property-configuration.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ ProcessorSubscription testProcessor =
4747
.consumerConfig(consumerConfig)
4848
.buildAndStart();
4949
----
50-
<1> When you instantiate the `ProcessorSubscription`, use `props.setBySupplier()` to set your property supplier.
50+
<1> When you instantiate the `ProcessorSubscription`, use `SubscriptionBuilder#properties` to set your property supplier.
5151

5252
The following is the full example that demonstrates how to use `CentralDogmaPropertySupplier`:
5353
[source,java]

0 commit comments

Comments
 (0)