Coder Social home page Coder Social logo

kafka-poc's Introduction

kafka-poc

Produce and consume Kafka messages

Testing

There is a live version of the fast-data-dev image at the following location:

https://fast-data-dev.demo.landoop.com/

The organization has changed its name from Landoop to LensesIO. The image is here:

https://github.com/lensesio/fast-data-dev

Docker

$ docker-compose up -d
Creating network "kafka-poc_default" with the default driver
Creating kafka-poc_broker_1 ... done
$ docker-compose down
Stopping kafka-poc_broker_1 ... done
Removing kafka-poc_broker_1 ... done
Removing network kafka-poc_default

Coyote Tests

http://localhost:3030/coyote-tests/

$ curl -vs --stderr - "http://localhost:8082/topics"
*   Trying ::1...
* TCP_NODELAY set
* Connected to localhost (::1) port 8082 (#0)
> GET /topics HTTP/1.1
> Host: localhost:8082
> User-Agent: curl/7.63.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Wed, 29 Jan 2020 18:20:36 GMT
< Content-Type: application/vnd.kafka.v1+json
< Vary: Accept-Encoding, User-Agent
< Content-Length: 260
< Server: Jetty(9.4.14.v20181114)
<
["_schemas","backblaze_smart","connect-configs","connect-offsets","connect-statuses","coyote-test-avro","coyote-test-binary","coyote-test-json","logs_broker","nyc_yellow_taxi_trip_data","sea_vessel_position_reports","telecom_italia_data","telecom_italia_grid"]* Connection #0 to host localhost left intact

Command Line Utilities

Create a topic.

kafka-topics --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic test

Write some messages to the topic.

kafka-console-producer --broker-list localhost:9092 --topic test

References

  1. Getting started with kafka

kafka-poc's People

Contributors

gkhays avatar dependabot[bot] avatar

Watchers

 avatar  avatar

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.