confluent-platform - 为什么在 ksql 中没有看到新消息,甚至存在消息?
问题描述
我像这样在 ksql 中创建表:
CREATE TABLE ORDERS_T (id BIGINT, product VARCHAR, quantity BIGINT, price BIGINT)
WITH (KAFKA_TOPIC='orders', VALUE_FORMAT='JSON');
在卡夫卡我有“订单”主题
当我在 ksql 中选择查询选项卡时,即使存在总消息,面板 No new messages
如下所示
那么我该如何解决呢?我想在confluent.io中看到类似这个例子的结果
如果我不使用EMIT CHANGES
它会给出这个错误:
Table 'MYTABLE' is not materialized. Refer to https://cnfl.io/queries for info on query types. If you..
提前致谢
解决方案
推荐阅读
- python - 在窗格窗口中使用滚动条调整 Treeview 的大小不起作用
- java - Netbeans 8.2 卡在加载屏幕消息日志
- r - 如何在 R 中对 table1 函数中的行进行子集化?
- javascript - 如何使用 react-phone-input-2 包中的 PhoneInput 显示错误消息?
- image-processing - 多类分类之前的图像背景去除/掩蔽 - 想法?
- r - Lme4:循环 glmer 时的随机效应错误
- r - 如何设置有条件的均匀分布随机数的最大值?
- razor - 如何修复 Blazor/Razor 警告:属性值中出现意外的字符序列
- javascript - 在 div 中显示名字和姓氏的第一个字母,在 JavaScript 中只有一个输入
- node.js - 尝试导出多个 module.exports 时出错