简体   繁体   English

在Kafka Streaming中使用bokeh绘图

[英]Using bokeh plotting with kafka streaming

Here is a problem I am stuck with presently. 这是我目前遇到的一个问题。

Recently I have been exploring bokeh for plotting and kafka for streaming. 最近,我一直在探索bokeh进行绘图,并探索kafka进行流式处理。 And I thought of making a sample live dashboard using both of them. 我想同时使用它们创建一个示例实时仪表板。

But the problem is I use bokeh with python and kafka stream api's with Java. 但是问题是我将bokeh与python结合使用,而kafka流api与Java结合使用。 Is there a way to use them together by any chance. 有没有机会将它们一起使用。

The only way I can see is both of them can be used with scala. 我看到的唯一方法是它们都可以与scala一起使用。 But presently I don't want to get into scala. 但目前我不想进入scala。

Try kafka-python. 试试kafka-python。 You can set up a simple consumer to read the data from your cluster. 您可以设置一个简单的使用者来从集群中读取数据。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM