Giter VIP home page Giter VIP logo

confluentinc / kafka-tutorials Goto Github PK

View Code? Open in Web Editor NEW
301.0 211.0 90.0 21.82 MB

Tutorials and Recipes for Apache Kafka

Home Page: https://developer.confluent.io/tutorials

License: Apache License 2.0

HTML 12.93% Makefile 8.04% Java 53.88% JavaScript 0.93% CSS 0.20% Shell 14.77% Python 2.32% Ruby 0.05% Dockerfile 0.14% Scala 2.40% SCSS 4.35%
kafka-tutorials ksqldb kafka kafka-streams apache-kafka stream-processing

kafka-tutorials's Issues

UDF (KSQL)

"Mark Teehan [5:20 PM]
A prospect needs a replace() UDF to replace special characters in kSQL. I'm not a java coder. They cannot do this in an SMT so kSQL is the next best option. Ideally a UDF that accepts an ASCII code (these are unprintable), and one that can be nested. Does anyone know of a suitable UDF chunk of code that I can use as a starting point?"

Provide an ability to author recipe in markup language

In order to effectively focus on the writing of recipe instructions, provide infrastructure to support markup language (Asciidoc/asciidoctor preferable, markdown is ok).
Authoring the recipe instruction with HTML is counterproductive and error-prone.
Not only it makes writing difficult (you probably need HTML editor to highlight breakage of open/close tags, support semantical tags) but it also makes review process difficult.

Docs team uses rst (though I think it's a terrible choice for markup, it's still better than HTML)
PS, Integration architects and training team use asciidoc for customer reports, white papers and training curriculums respectively.

Tabs for Try/Test/Deploy

The tabs for the separate platforms (kafka, kstreams, and ksql) are super handy. What would we think of extending the tabbing system to the three...let's call them "modalities," so we can sound extra annoying (try/test/deploy)? It might make each recipe page a bit less daunting and require less scrolling.

Transform a stream: gradlew and absolute paths

Started running through a recipe just to get the hang of things. I picked "Transform a stream of events". Two notes:

  1. Gradle is referred to as gradlew in the examples. Typo or deliberate to make people type things? gradlew build in step 3 and gradlew shadowJar in step 5.

  2. I got confused between step 2 and 3. Step 2 says to create a config directory with a dev.properties file. Step 3 says mkdir -p src/main/avro. But I did a cd to the config directory to create the file, which meant I had configuration/src/main/avro after step 3.

I know it's my fault but it seems like since recipes are new we should have some conventions. Maybe a convention should be to make paths absolute to a recipe basedir at all times?

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.