Giter VIP home page Giter VIP logo

Comments (10)

yangsishu avatar yangsishu commented on June 12, 2024

有什么问题,可以在github上提

from jlogstash.

fyyq0628 avatar fyyq0628 commented on June 12, 2024
  • Kafka10:
    encoding: "utf-8"
    codec: "plain"
    topics: "yunyun"
    groupId: "test2"
    bootstrapServers: "...:9092"
    consumerSettings: {zookeeper.connect: "...:2181",auto.commit.interval.ms: "1000",auto.offset.reset: "smallest"}
    我使用这个配置去采集kafka的数据无法采集到,也没有任何报错,我在后台服务器是可以使用命令生产和消费的,能帮忙看下配置是否正确吗,kafka的版本的是1.0.0,由于隐私性,IP我用”*"代替了

from jlogstash.

fyyq0628 avatar fyyq0628 commented on June 12, 2024

另一个kafka的input插件采集成功了,但是二者的配置参数似乎有比较大的区别

from jlogstash.

fyyq0628 avatar fyyq0628 commented on June 12, 2024

input插件选择tcp,启动无报错,配置如下:

  • Tcp:
    codec: "plain"
    prot: 52192
    host: "127.0.0.1"
    encoding: "utf8"
    bufSize: 30
    maxLineLength: 10
    当我模拟往端口发送数据的时候一直提示那个连接失败,但是我用别的代码模拟tcp的server和client的时候能发送和接收数据,我是菜鸟,刚刚接触,可能问题比较多,希望不要被骂

from jlogstash.

yangsishu avatar yangsishu commented on June 12, 2024

Kafka10 这个参数配置后面会加下,现在的是kafka09版本的

from jlogstash.

yangsishu avatar yangsishu commented on June 12, 2024

你要是报错,发下报错信息,不让我没法给你排查问题

from jlogstash.

fyyq0628 avatar fyyq0628 commented on June 12, 2024

也就是说目前kafka10没办法消费,是么

from jlogstash.

yangsishu avatar yangsishu commented on June 12, 2024

kafka10 可以消费的,我是说github上的kafka配置说明是09版本的,现在已经加上kafka10的配置说明了

from jlogstash.

fyyq0628 avatar fyyq0628 commented on June 12, 2024

好的,谢谢,我改下配置看看是否能消费到

from jlogstash.

jffree avatar jffree commented on June 12, 2024

@yangsishu 请问配置文件中 OUTPUT 里面的 if 语句应该如何写?

from jlogstash.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.