Skip to content

Commit

Permalink
change the batchSend
Browse files Browse the repository at this point in the history
automatically splits the frames.
Removes the messages too big for the frame.
Add the batch result to give more control to the user

Signed-off-by: Gabriele Santomaggio <[email protected]>
  • Loading branch information
Gsantomaggio committed Dec 3, 2024
1 parent cee445a commit b1001e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/stream/producer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ var _ = Describe("Streaming Producers", func() {
Expect(producer.Close()).To(HaveOccurred())
})

It("Smart Send Split frame/BatchSize", Focus, func() {
It("Smart Send Split frame/BatchSize", func() {
producer, err := testEnvironment.NewProducer(testProducerStream,
NewProducerOptions().SetBatchSize(50))
Expect(err).NotTo(HaveOccurred())
Expand Down

0 comments on commit b1001e1

Please sign in to comment.