[
https://issues.apache.org/jira/browse/ARIES-1880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16734339#comment-16734339
]
Dominik Przybysz commented on ARIES-1880:
-----------------------------------------
Yes :)
It will be even more readable if you replace the getters and setters with
lombok :)
> Use builder instead of many parameters in subscribe
> ---------------------------------------------------
>
> Key: ARIES-1880
> URL: https://issues.apache.org/jira/browse/ARIES-1880
> Project: Aries
> Issue Type: Improvement
> Components: Journaled Events
> Reporter: Christian Schneider
> Assignee: Christian Schneider
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Subscription subscribe(String topic, Position position, Seek seek,
> Consumer<Received> callback);
> 4 Parameters which can partly be null is not a good idea. [~alien11689]
> proposed on the list to use a DTO.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)