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/05/21 06:41:41 UTC

[GitHub] [pulsar] snowcrumble commented on a change in pull request #6023: [pulsar-client-go]Add DeliverAfter option for go client

snowcrumble commented on a change in pull request #6023:
URL: https://github.com/apache/pulsar/pull/6023#discussion_r428473920



##########
File path: pulsar-client-go/pulsar/producer_test.go
##########
@@ -416,3 +416,71 @@ func TestProducer_SendAndGetMsgID(t *testing.T) {
 		assert.NotNil(t, IsNil(msgID))
 	}
 }
+
+func TestProducer_DelayMessage(t *testing.T) {
+	client, err := NewClient(ClientOptions{
+		URL: "pulsar://localhost:6650",
+	})
+	assert.Nil(t, err)
+	defer client.Close()
+
+	topicName := "test-send-with-message-id"

Review comment:
       ofcourse




----------------------------------------------------------------
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