# How I understand weather kafta broker topic is connected with backend kafta stream server correctly?

**URL:** <https://forum.confluent.io/t/how-i-understand-weather-kafta-broker-topic-is-connected-with-backend-kafta-stream-server-correctly/12390>\
**Category:** ksqlDB\
**Created:** [21 October 2024 02:58 UTC](https://forum.confluent.io/t/how-i-understand-weather-kafta-broker-topic-is-connected-with-backend-kafta-stream-server-correctly/12390 "2024-10-21T02:58:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abhijeet241093](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/abhijeet241093/32/4063_2.png) [@Abhijeet241093](https://forum.confluent.io/u/Abhijeet241093)\
**Post date:** [21 October 2024 02:58 UTC](https://forum.confluent.io/t/how-i-understand-weather-kafta-broker-topic-is-connected-with-backend-kafta-stream-server-correctly/12390/1 "2024-10-21T02:58:24Z")

</div>

_• Hardware Platform (Jetson / GPU)_ \* nano  
**• DeepStream Version** 7.0  
**• JetPack Version (valid for Jetson only)** 6.0  
**• TensorRT Version** 8.6.2.3-1+cuda12.2  
**• NVIDIA GPU Driver Version (valid for GPU only)** NVIDIA-SMI 540.2.0  
**• Issue Type( questions, new requirements, bugs)** how I understand weather kafta broker topic is connected with backend kafta stream server correctly ?

I have created Kafka stream : docker exec -it ksqldb-cli ksql [http://ksqldb-server:8088](http://ksqldb-server:8088/) using jason format :

ksql\> CREATE STREAM BOUNDING\_BOXES\_STREAM (  
frame\_number INT,  
stream\_id INT,  
bounding\_boxes ARRAY\<STRUCT\<  
object\_id INT,  
class\_id INT,  
top DOUBLE,  
leftt DOUBLE,  
width DOUBLE,  
height DOUBLE,  
Total\_People\_count INT,  
moving\_direction VARCHAR,  
line\_crossing\_status VARCHAR,  
overcrowding\_status VARCHAR,  
roi\_status VARCHAR,  
Objs\_in\_ROI INT,  
Linecrossing\_Cumulative INT,  
Linecrossing\_Current\_Frame INT

> >

) WITH (  
KAFKA\_TOPIC=‘bounding\_boxes\_stream’,  
VALUE\_FORMAT=‘JSON’  
);  
And then I created kafta topic (`bounding_boxes_stream`) contains messages formatted as JSON, using  
/Logic$ docker exec -it broker /bin/bash  
[appuser@broker ~]$ kkafka-console-producer --bootstrap-server “localhost:9092” --topic “bounding\_boxes\_stream”  
{  
“frame\_number”: 5,  
“stream\_id”: 0,  
“bounding\_boxes”: [  
{  
“object\_id”: 1,  
“class\_id”: 0,  
“top”: 23.1943359375,  
“leftt”: 1386.884033203125,  
“width”: 55.195068359375,  
“height”: 150.04502868652344,  
“Total\_People\_count”: 3,  
“moving\_direction”: “north”,  
“line\_crossing\_status”: “crossed”,  
“overcrowding\_status”: “normal”,  
“roi\_status”: “active”,  
“Objs\_in\_ROI”: 2,  
“Linecrossing\_Cumulative”: 5,  
“Linecrossing\_Current\_Frame”: 1  
},  
{  
“object\_id”: 2,  
“class\_id”: 1,  
“top”: 45.1943359375,  
“leftt”: 1200.884033203125,  
“width”: 30.195068359375,  
“height”: 160.04502868652344,  
“Total\_People\_count”: 3,  
“moving\_direction”: “south”,  
“line\_crossing\_status”: “not crossed”,  
“overcrowding\_status”: “crowded”,  
“roi\_status”: “inactive”,  
“Objs\_in\_ROI”: 1,  
“Linecrossing\_Cumulative”: 3,  
“Linecrossing\_Current\_Frame”: 0  
}  
]  
}

And then based on it, re verify message using  
[appuser@broker ~]$ kafka-console-consumer --bootstrap-server “localhost:9092” --topic “bounding\_boxes\_stream” --from-beginning --max-messages 100, its output correctly and then i re-verified it using kafta stream:

its show correctly, and then i checked

 ![ksql](https://us1.discourse-cdn.com/flex019/uploads/confluentcommunity/original/2X/5/50055fefbe36c55e7f27d2538bde7101f5537eea.png)

It show empty : but actually its not empty. Why it show empty ? how i solve this error ? how I understand weather kafta broker topic is connected with backend kafta stream server correctly ?

I able to access kafta topic using AKHQ.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/confluentcommunity/original/1X/c49438c90c9df282e9996fdf6971be890c71b65a.svg) [@system](https://forum.confluent.io/u/system)\
**Post date:** [20 November 2024 02:59 UTC](https://forum.confluent.io/t/how-i-understand-weather-kafta-broker-topic-is-connected-with-backend-kafta-stream-server-correctly/12390/2 "2024-11-20T02:59:19Z")

</div>

Closed on 20 November 2024 02:59 UTC

This topic was automatically closed after 30 days. New replies are no longer allowed.
