forked from apache/pulsar
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Sink] Fix the marshal and unmarshal the sink config (apache#12625)
### Motivation Recently, I tests the sink feature by `pulsarctl`, when getting sink info, found the following issues: - Cannot get the `cleanupSubscription` field correctly - Cannot get the `processingGuarantees` field correctly - The `resources` always `null` ### Modifications - Set value to `cleanupSubscription` field in `SinkConfig.convertFromDetails()` - Set value to `resources` field in `SinkConfig.convertFromDetails()` - Improves the set value to `processingGuarantees` in `SinkConfig.convertFromDetails()` - Explicitly set the value for `processingGuarantees` - Added unit tests
- Loading branch information
Showing
2 changed files
with
88 additions
and
8 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