[Kafka] Thiết kế và Testing Cluster kafka HA trên k8
Lượn được bài hay về kafka của một anh
Trình bày các công nghệ CLOUD một cách dễ hiểu.
Hello các bạn sau đâu mình sẽ trình bày về vần để reset 1 connector trên kafka. Why need you reset a connector in Kafka-connect?Vì 1 số case thì kafka-connect sẽ read data từ Database rồi write data vào trong 1 topic trên kafka.Với Mysql thì thì kafka-connect sẽ đọc log bin, với Mongodb thì…
Read More “[Kafka-connect] Reset Connector in Kafka Connect” »
Mình đã có 1 bài hướng dẫn các bạn tạo Connector Source CDC từ read data từ 1 database và 1 collection thuộc 1 Mongodb và write vào topic. Ta để ý value của key sẽ thay đổi liên tục. 1st: Create Document A –(read data change)–> Kafka-connect –(write topic)–> Kafka –> 1 message có…
Read More “[Kafka-Connect] Overwrite value of Key on Mongo Source Connector – Mongodb” »
Mặc định pass là admin/adminGiờ chúng ta muốn change pass admin thì làm sao. 1) Configure authentication Reference links:https://docs.lenses.io/3.0/install_setup/configuration/security.html Lenses Administrator A default account with administrator privileges is always active. The default credentials are admin / admin and if left at default, a notification will show in the user interface, informing that the setup is insecure. The default account username…
Read More “[Lenses/kafka] Configure authentication and authorization for lenses” »
Vào một ngày đẹp trời!Bạn vào lại topic của mình và thấy. VALUE:“No records were returned for 20 seconds. The max idle timeout has been reached. Use [SET SessionKey(max.idle.time)=’60s’;] to control it. You can specify the timeout in ms(milliseconds), s(seconds), m(minutes), h(hours).”
Apache Kafka ships with many Single Message Transformations included – but the great thing about it being an open API is that people can, and do, write their own transformations. Many of these are shared with the wider community, and in this final installment of the series I’m going to look at some of the transformations written by Jeremy…
Read More “[Kafka-connect] Single Message Transform: lesson 12 – Community Transformations” »
1) Setup the components. Phần setup kafka, bạn có thể coi lại link này he:Setup the needing components of Kafka Bạn nhớ delele container cũ và run lại docker-compose nhé:docker-compose down -vdocker-compose up -d 2) Practice. reference link:https://github.com/confluentinc/demo-scene/blob/master/kafka-connect-single-message-transforms/day11.adoc Với connector source-voluble-datagen-day11-00 thì nó sẽ sinh ra 2 topic:– day11-sys01– day11-systemBOK bạn cần nhớ điều này…
1) Setup the components. Phần setup kafka, bạn có thể coi lại link này he:Setup the needing components of Kafka Bạn nhớ delele container cũ và run lại docker-compose nhé:docker-compose down -vdocker-compose up -d 2) Practice. reference link:https://github.com/confluentinc/demo-scene/blob/master/kafka-connect-single-message-transforms/day10.adoc Dropping fields in a sink connector: [Kafka-connect] Single Message Transform: lesson 5 MaskFieldỞ bài 5 chúng ta…
Bài này chúng ta sẽ chỉ custom type data khi nào source connector 1) Setup the components. Phần setup kafka, bạn có thể coi lại link này he:Setup the needing components of Kafka Bạn nhớ delele container cũ và run lại docker-compose nhé:docker-compose down -vdocker-compose up -d 2) Practice. reference link:https://github.com/confluentinc/demo-scene/blob/master/kafka-connect-single-message-transforms/day9.adoc Bạn thấy kết quả…
Read More “[Kafka-connect] Single Message Transform: lesson 9 – Cast” »
1) Setup the components. Phần setup kafka, bạn có thể coi lại link này he:Setup the needing components of Kafka Bạn nhớ delele container cũ và run lại docker-compose nhé:docker-compose down -vdocker-compose up -d 2) Practice. reference link:https://github.com/confluentinc/demo-scene/blob/master/kafka-connect-single-message-transforms/day8.adoc Tạo the data generatorhttps://www.confluent.io/hub/mdrogalis/voluble Giờ chúng ta kiểm tra data trong topic và chính xác là field:…