From d859dd6b3f4bcdcc9143a2e02695eca95be0fd9f Mon Sep 17 00:00:00 2001 From: Robert Azizbekyan <103438454+rAzizbekyan@users.noreply.github.com> Date: Wed, 15 Jun 2022 16:56:47 +0400 Subject: [PATCH] fix adding message for topics (#2161) --- .../src/components/Topics/Topic/SendMessage/SendMessage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kafka-ui-react-app/src/components/Topics/Topic/SendMessage/SendMessage.tsx b/kafka-ui-react-app/src/components/Topics/Topic/SendMessage/SendMessage.tsx index c8898c7ad2..11fa6c08e3 100644 --- a/kafka-ui-react-app/src/components/Topics/Topic/SendMessage/SendMessage.tsx +++ b/kafka-ui-react-app/src/components/Topics/Topic/SendMessage/SendMessage.tsx @@ -142,7 +142,7 @@ const SendMessage: React.FC = () => { key: !key ? null : key, content: !content ? null : content, headers, - partition, + partition: !partition ? 0 : partition, }, }); dispatch(fetchTopicDetails({ clusterName, topicName }));