Skip to content

Commit 26d0e0f

Browse files
committed
code format
1 parent e4879b9 commit 26d0e0f

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

tests/producer.test.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,7 @@ const adminUrl = 'http://localhost:8080';
185185
// 2. Create a producer with the custom message router
186186
const producer = await client.createProducer({
187187
topic: partitionedTopic, // Note: For producer, use the base topic name
188-
messageRouter: (message, topicMetadata) =>
189-
// Always route to the target partition for this test
190-
targetPartition,
188+
messageRouter: (message, topicMetadata) => targetPartition,
191189
messageRoutingMode: 'CustomPartition',
192190
});
193191

0 commit comments

Comments
 (0)