jai1 commented on a change in pull request #3764: Fixed Reader.HasNext() in Go client URL: https://github.com/apache/pulsar/pull/3764#discussion_r263092680
########## File path: pulsar-client-go/pulsar/reader_test.go ########## @@ -218,3 +219,49 @@ func TestReaderCompaction(t *testing.T) { assert.Nil(t, msg) assert.NotNil(t, err) } + +func TestReaderHasNext(t *testing.T) { + topic := fmt.Sprintf("TestReaderHasNext-%d", rand.Int()) + ctx := context.Background() + + client, err := NewClient(ClientOptions{ + URL: "pulsar://localhost:6650", + //Logger: func(level logutil.LoggerLevel, file string, line int, message string) { Review comment: Do you want to checkin with these comments ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services