You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/09/08 06:20:29 UTC
[GitHub] [pulsar-client-go] lhui1991 opened a new pull request #362: [Producer]Add functional options
lhui1991 opened a new pull request #362:
URL: https://github.com/apache/pulsar-client-go/pull/362
### Motivation
*Using the Functional Options Pattern to make producer constructor more elegant and explicit.*
### Verifying this change
- [x] Make sure that the change passes the CI checks.
This change is already covered by existing tests.
### Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): no
- The public API: yes (CreateProducer)
- The schema:no
- The default values of configurations: no
- The wire protocol: no
### Documentation
- Does this pull request introduce a new feature? no
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar-client-go] cckellogg commented on pull request #362: [Producer]Add functional options
Posted by GitBox <gi...@apache.org>.
cckellogg commented on pull request #362:
URL: https://github.com/apache/pulsar-client-go/pull/362#issuecomment-690292299
There was a similar PR (https://github.com/apache/pulsar-client-go/pull/69) a while back. I'm not sure this adds anything and the names would have to be prefixed to avoid clashing.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar-client-go] lhui1991 closed pull request #362: [Producer]Add functional options
Posted by GitBox <gi...@apache.org>.
lhui1991 closed pull request #362:
URL: https://github.com/apache/pulsar-client-go/pull/362
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar-client-go] lhui1991 commented on pull request #362: [Producer]Add functional options
Posted by GitBox <gi...@apache.org>.
lhui1991 commented on pull request #362:
URL: https://github.com/apache/pulsar-client-go/pull/362#issuecomment-690331937
> There was a similar PR (#69) a while back. I'm not sure this adds anything and the names would have to be prefixed to avoid clashing.
okay,Looks like I did the same thing.I will close this.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org