pulsar-client-go icon indicating copy to clipboard operation
pulsar-client-go copied to clipboard

Add parition reader to solve the Reader fragmented read data.

Open EAHITechnology opened this issue 3 years ago • 2 comments

list:

  • add partition reader file; /pulsar/reader_partition.go
  • update reader Impl /pulsar/reader_impl.go ;

EAHITechnology avatar Dec 29 '21 06:12 EAHITechnology

@EAHITechnology Nick work, can you add test case for this feature?

wolfstudy avatar Dec 29 '21 14:12 wolfstudy

@EAHITechnology Please add unit test case for this change?

We can use the following code to create a topic with 3 partitions

	topic := newTopicName()
	testURL := adminURL + "/" + "admin/v2/persistent/public/default/" + topic + "/partitions"
	makeHTTPCall(t, http.MethodPut, testURL, "3")

wolfstudy avatar Jan 06 '22 11:01 wolfstudy