【问题标题】:Using sketches with either Apache Beam or Apache Flink in python在 python 中使用带有 Apache Beam 或 Apache Flink 的草图
【发布时间】:2020-08-26 02:28:40
【问题描述】:

我想将KLL sketch 用于流应用程序。问题是 KLL 草图是有状态的计算,因此不是幂等的。这可以在 Beam 或 Flink 中使用,最好是在 Python 中实现吗?

Apache Datasketch 说Integration efforts have started with Apache Flink and Apache Impala. There is also interest from Apache Beam。主要困难是什么?大多数草图在内部使用原始类型和数组。

【问题讨论】:

    标签: python-3.x streaming apache-flink apache-beam flink-streaming


    【解决方案1】:

    您可以使用state and timers 在流式光束管道中使用它。

    【讨论】:

    • 它们与 KLL 草图不同。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2020-09-21
    • 1970-01-01
    • 2018-08-07
    • 2023-03-25
    • 2019-10-05
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多