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/07/08 09:29:45 UTC
[GitHub] [pulsar] sxpsxp12 opened a new issue #7480: native go v0.1.1 No support produce batch?
sxpsxp12 opened a new issue #7480:
URL: https://github.com/apache/pulsar/issues/7480
**Describe the bug**
native go v0.1.1 No support produce batch?
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
native go support batch producer
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. iOS]
**Additional context**
Add any other context about the problem here.
----------------------------------------------------------------
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] sxpsxp12 commented on issue #7480: native go v0.1.1 No support produce batch?
Posted by GitBox <gi...@apache.org>.
sxpsxp12 commented on issue #7480:
URL: https://github.com/apache/pulsar/issues/7480#issuecomment-658572663
@wolfstudy thanks,it's work ok。
----------------------------------------------------------------
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] sijie commented on issue #7480: native go v0.1.1 No support produce batch?
Posted by GitBox <gi...@apache.org>.
sijie commented on issue #7480:
URL: https://github.com/apache/pulsar/issues/7480#issuecomment-655856901
@sxpsxp12 Can you create the issue at https://github.com/apache/pulsar-client-go?
----------------------------------------------------------------
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] wolfstudy commented on issue #7480: native go v0.1.1 No support produce batch?
Posted by GitBox <gi...@apache.org>.
wolfstudy commented on issue #7480:
URL: https://github.com/apache/pulsar/issues/7480#issuecomment-656451119
@sxpsxp12 In fact, we have already supported the batch function on the produce side. By default, the batch is enabled.
```
producer, err := client.CreateProducer(ProducerOptions{
Topic: topicName,
DisableBatching: false,
BatchingMaxMessages: uint(numOfMessages),
BatchingMaxPublishDelay: time.Second * 10,
Properties: map[string]string{
"producer-name": "test-producer-name",
"producer-id": "test-producer-id",
},
})
assert.Nil(t, err)
defer producer.Close()
```
----------------------------------------------------------------
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] wolfstudy closed issue #7480: native go v0.1.1 No support produce batch?
Posted by GitBox <gi...@apache.org>.
wolfstudy closed issue #7480:
URL: https://github.com/apache/pulsar/issues/7480
----------------------------------------------------------------
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] wolfstudy commented on issue #7480: native go v0.1.1 No support produce batch?
Posted by GitBox <gi...@apache.org>.
wolfstudy commented on issue #7480:
URL: https://github.com/apache/pulsar/issues/7480#issuecomment-658650072
> @wolfstudy thanks,it's work ok。
Cool, will close this issue.
----------------------------------------------------------------
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