【问题标题】:Confluent Kafka GCS(Google Cloud Storage) Connector giving a parse error on loading the properties fileConfluent Kafka GCS(Google Cloud Storage)连接器在加载属性文件时出现解析错误
【发布时间】:2019-03-31 00:25:27
【问题描述】:

我是 Confluent 的新手,我在从 Kafka 导出数据后尝试使用 GCS 作为接收器。我正在关注本指南:https://docs.confluent.io/current/connect/kafka-connect-gcs/index.html

当我尝试start the connector时出现以下错误

This CLI is intended for development only, not for production
https://docs.confluent.io/current/cli/index.html

parse error: Expected separator between values at line 1, column 644
{
  "error_code": 500,
  "message": null
}

我已经寻找解决方案,但似乎找不到。任何帮助将不胜感激!

【问题讨论】:

  • 请编辑您的问题以包含您正在加载的属性文件。见minimal reproducible example
  • @cricket_007 这与我提到的链接中的完全一样。只是我已经给出了 gcs.credentials.path 的绝对路径。无论如何,如果将来有人遇到它,我解决了这个问题。只需删除分配给 confluent.license 的双引号 "" 即可。
  • 好吧,如果您希望该连接器继续运行,您将需要一个许可证密钥
  • @cricket_007 AFAIK 你可以在没有许可证的情况下运行连接器,在 30 天试用后只需要一个。
  • @Robin 对。所以我说“继续跑”

标签: apache-kafka google-cloud-storage apache-kafka-connect confluent-platform


【解决方案1】:

如果将来有人遇到它。只需删除分配给 confluent.license 的双引号 ""

【讨论】:

    猜你喜欢
    • 2017-07-12
    • 2017-04-08
    • 2020-03-24
    • 2020-02-08
    • 2023-03-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-06-25
    相关资源
    最近更新 更多