Hugo Guerrero
Hugo Guerrero
  • 20
  • 48 631
Red Hat Integration - Debezium serialization with Apache Avro and Red Hat OpenShift Service Registry
This video demonstrates how to use Red Hat Integration's Debezium connectors to monitor a MySQL database. As the data in the database changes, you will see the resulting event streams reflected in Red Hat OpenShift Streams for Apache Kafka.
Red Hat OpenShift Service Registry is a fully hosted and managed service that provides an API and schema registry for microservices. OpenShift Service Registry makes it easy for development teams to publish, discover, and reuse APIs and schemas.
Debezium schema serialization
The default behavior is that the JSON converter includes the record’s message schema, making each record very verbose. Alternatively, you can serialize the record keys and values using Apache Avro. To use Apache Avro serialization, you must deploy a schema registry that manages Avro message schemas and their versions.
OpenShift Service Registry provides an Avro converter that you can specify in Debezium connector configurations. This converter maps Kafka Connect schemas to Avro schemas. The converter then uses the Avro schemas to serialize the record keys and values into Avro’s compact binary form.
Get the code here: github.com/hguerrero/debezium-examples/tree/main/debezium-openshift-registry-avro
Contents of this video:
00:00 - Intro
00:16 - Login into Red Hat OpenShift Cloud Services
00:34 - Create a new Kafka instance
01:10 - Create a Service Registry instance
02:30 - Configure Kafka access
03:54 - Create topics
04:46 - Start docker-compose
05:25 - Check connectivity with kcctl
06:05 - Configure connector
06:53 - Deploy the connector
07:30 - Check the registry
07:54 - Use kcat to retrieve the topic records
09:30 - Get the compatibility API for kcat deserialization
09:50 - Use kcat to deserialize the records
10:30 - Use jq for pretty print of json
11:09 - Final remarks
มุมมอง: 639

วีดีโอ

Discovering Apache Kafka Events with Event Discovery Agent
มุมมอง 2223 ปีที่แล้ว
Sometimes we need to create an AsyncAPI doc to share with other teams that need access to our Kafka cluster. With SolaceLabs Event Discovery Agent, you can introspect your cluster, discover the topics that live there and even get the detailed schemas expected by those topics. With this information, the agent creates an AsyncAPI spec doc that you later can use to share it or for other tooling pu...
Securing Apicurio Service Registry with Red Hat Single Sign-On (Keycloak)
มุมมอง 7953 ปีที่แล้ว
The new Service Registry 2.0 release enables authentication support using the OpenID Connect protocol to secure the registry REST API and web console. The Service Registry leverages the Quarkus extensions for OIDC to connect to Identity Providers like Red Hat SSO easily. You can create users in Red Hat SSO that map to the teams accessing the registry. Then you can add specific roles to those us...
Configuring Service Registry with PostgreSQL storage
มุมมอง 2923 ปีที่แล้ว
This video shows how to install Service Registry on the OpenShift Container Platform using a PostgreSQL database as persistent storage. To create a new Service Registry deployment, use the SQL database storage option. This requires an external PostgreSQL storage to be configured as a prerequisite.
Capture Oracle database events with Debezium - Preparing the database (Part 1)
มุมมอง 13K3 ปีที่แล้ว
You can now stream your data from Oracle databases with the Debezium connector for Oracle in developer preview on Red Hat Integration. With this new connector, developers can leverage the power of the 100% open source Debezium project to stream their Oracle data to Red Hat AMQ Streams Apache Kafka clusters with Red Hat Integration. This is Part 1: Steps to set up Oracle Database : Note: Please ...
Using Camel K as a Knative serverless event source
มุมมอง 1354 ปีที่แล้ว
In the following video we will be deploying a Camel Source to ingest Cloud Events to Knative and trigger serverless functions.
Writing serverless Functions with Camel K and Knative
มุมมอง 3294 ปีที่แล้ว
In this video we will be creating a simple function using Camel K and deploying on serverless on top of OpenShift
Cloud Load Balancing using Skupper
มุมมอง 1734 ปีที่แล้ว
In this demo I show how to enable Cloud Load Balancing across AWS, Azure and On-premises (laptop) using a service interconnect provided by Skupper's Virtual Application Network skupper.io @skupperio
Setting Up Debezium, Apache Avro, and Apicurio Service Registry in Minutes
มุมมอง 2.6K4 ปีที่แล้ว
In this short demo we will review how to use Debezium to monitor a MySQL database and then use Apache Avro with the Apicurio service registry to externalize the data schema and reduce the payload of each one of the captured events. Check the details on how to run this demo locally following the tutorial: dzone.com/articles/debezium-serialization-with-apache-avro-and-apicur Check the demo inform...
Data Gateways: Legacy data for microservices
มุมมอง 1414 ปีที่แล้ว
Application architecture evolution has fragmented the backend implementation into independent microservices and functions. However there is still a gap on the way this evolution has dealt with data as it tends to avoid dealing with static environments. At the same time, microservices encourage developers to create new polyglot data persistence layers that then, need to be composite to deliver b...
Red Hat Build of Debezium: An Overview of Change Data Capture
มุมมอง 5K4 ปีที่แล้ว
In this 5 minutes video we take a quick overview of how to use debezium and AMQ streams to capture changes from a SQL Server database and send the events to Apache Kafka.
Apicurio Service and Schema Registry UI & Kubernetes Operator
มุมมอง 4K4 ปีที่แล้ว
The Apicurio community launched last year the new Apicurio Registry project targeted as an API and schema registry for services. The latest 1.2.2 release added the new web based user interface to the project. To make it easier to set up and manage the deployment of the solution on Kubernetes, there is now a new Kubernetes Operator available for the Apicurio Registry.
Slack Integration with Apache Camel Kafka Connectors
มุมมอง 2.3K4 ปีที่แล้ว
Camel Kafka Connector allows you to use all Camel components as Kafka Connect connectors, which as result expands Kafka Connect compatibility to include all Camel components to be used in Kafka ecosystem. Check the related post here: developers.redhat.com/blog/2020/05/19/extending-kafka-connectivity-with-apache-camel-kafka-connectors/
Red Hat Integration: Capture Database Changes with Debezium, Apache Camel & Apache Kafka
มุมมอง 4.5K4 ปีที่แล้ว
Change data capture helps to bridge traditional data stores and new cloud-native event-driven architectures. Debezium is a set of distributed services that captures row-level changes in databases so that applications can see and respond to those changes. The general availability (GA) release from Red Hat Integration includes the following Debezium connectors for Apache Kafka: MySQL Connector, P...
Upgrade microservices to APIs with 3scale and Istio Service Mesh
มุมมอง 1.2K5 ปีที่แล้ว
A service mesh manages services and the connections between them, whereas an API management solution manages APIs and their consumers. Red Hat Integration adds an Istio adapter that connects to the Istio service mesh so that you can upgrade any service in your service mesh to a full-featured API. Read more: Distributed microservices architecture: Istio, managed API gateways and, enterprise inte...
Red Hat AMQ Online on OpenShift: Kubernetes-based self-service messaging infrastructure
มุมมอง 1.8K5 ปีที่แล้ว
Red Hat AMQ Online on OpenShift: Kubernetes-based self-service messaging infrastructure
Red Hat AMQ Streams: Run Apache Kafka on Kubernetes with OpenShift
มุมมอง 4.6K6 ปีที่แล้ว
Red Hat AMQ Streams: Run Apache Kafka on Kubernetes with OpenShift
Red Hat 3scale API Management Policies
มุมมอง 2.4K6 ปีที่แล้ว
Red Hat 3scale API Management Policies
Red Hat AMQ Online: Getting Started On Hosted Version
มุมมอง 1.4K6 ปีที่แล้ว
Red Hat AMQ Online: Getting Started On Hosted Version
API Security with OpenID Connect and Red Hat 3scale API Management
มุมมอง 3K6 ปีที่แล้ว
API Security with OpenID Connect and Red Hat 3scale API Management

ความคิดเห็น

  • @sameersarmah1446
    @sameersarmah1446 หลายเดือนก่อน

    Great video! You have covered lots of ground in such a short video, namely 1.Strimzi for Kafka and Kafka Connect 2.Integrating Apache Camel Kafka connectors with Strimzi

  • @georgelza
    @georgelza 3 หลายเดือนก่อน

    can you point me to part 2 of this tutorial

  • @twelvetonineshift9
    @twelvetonineshift9 11 หลายเดือนก่อน

    Is there a Part 2 to this?

  • @rajeshingole2966
    @rajeshingole2966 ปีที่แล้ว

    How can we integrate Oracle connector with Java. Any suggestions pls.

  • @Zoanodar
    @Zoanodar 2 ปีที่แล้ว

    Looking forward to part 2! Very useful so far, thank you 🙏🏻

  • @earther-v2w
    @earther-v2w 2 ปีที่แล้ว

    Title is misleading it is not sso

  • @stefanhofman1111
    @stefanhofman1111 2 ปีที่แล้ว

    This video describes setting up an Oracle database in a docker container, setting it in archivelog mode and loading some tables. It does not show what the title promisses: Capture Oracle Database events with Debezium

  • @itxstore
    @itxstore 2 ปีที่แล้ว

    Thanks, please upload part 2 :D

  • @DevOpsKey1
    @DevOpsKey1 2 ปีที่แล้ว

    can you help me

  • @DevOpsKey1
    @DevOpsKey1 2 ปีที่แล้ว

    facing below error

  • @MaxPrimeAY
    @MaxPrimeAY 3 ปีที่แล้ว

    Waiting for Part 2. Nice explaination.

  • @bonolomokgadi9025
    @bonolomokgadi9025 3 ปีที่แล้ว

    Hi Hugo, how do one generates notifications (email) for kafka connectors status?

  • @tamilselvan8343
    @tamilselvan8343 3 ปีที่แล้ว

    Nice walkthrough!!

  • @Sds737
    @Sds737 3 ปีที่แล้ว

    Hey Hugo, it is very helpful, thanks a lot! Will be there Part 2? )

  • @jayashreemurugeshkumar1580
    @jayashreemurugeshkumar1580 3 ปีที่แล้ว

    Very good info..any video on how how to integrate apicurio Registry with Strimzi Kafka?

  • @ehasnulkhan8036
    @ehasnulkhan8036 3 ปีที่แล้ว

    Thanks for posting this. Can I use docker for zookeeper, Kafka and Debezium to connect to a remote Oracle database, which is not in a docker box? If so how do I do that?

    • @juancarlosliebana2901
      @juancarlosliebana2901 3 ปีที่แล้ว

      Hey buddy! Did you find a solution or something for this? I'm currently trying something similar. Thanks!

  • @hellobabyReeva
    @hellobabyReeva 3 ปีที่แล้ว

    very helpful but , I am getting error of oracle connection after logminer script

    • @hellobabyReeva
      @hellobabyReeva 3 ปีที่แล้ว

      Can you please help me for this

    • @mila1040
      @mila1040 3 ปีที่แล้ว

      Caso o erro seja do TNS, ao executar o script, ocorre devido o seu service name ser diferente do descrito. Faça uma consulta para obter seu service anme correto, select value from v$parameter where name='service_names'; No meu caso meu service name é ORCLCDB.localdomain, então é só alterar os valores do script << sqlplus sys/top_secret@//localhost:1521/ORCLPDB1 as sysdba >>> para <<< sqlplus sys/top_secret@//localhost:1521/ORCLCDB.localdomain as sysdba>>>

  • @sachindhama2164
    @sachindhama2164 4 ปีที่แล้ว

    Hi Hugo ,Thanks for the tutorial,it was very helpful :)

    • @hguerreroo
      @hguerreroo 4 ปีที่แล้ว

      Glad it was helpful!

  • @susmitdey9172
    @susmitdey9172 4 ปีที่แล้ว

    Hi Hugo, Thanks for the tutorials, would be great if you can share some practical use cases where AMQ streams might be useful like CDC etc. Also, how it is compares with some other managed kafka products like Confluent.

    • @hguerreroo
      @hguerreroo 4 ปีที่แล้ว

      Most of the content around use cases and examples you can find in the Red Hat Developers site developers.redhat.com/search?t=kafka&f=type%7Eblogpost

  • @yogidalal90
    @yogidalal90 4 ปีที่แล้ว

    @04:51 you updated the messaging detail, do we need to do it every-time a restart happens for MQ pod. because it dynamically assign new hostname on every restart.

    • @hguerreroo
      @hguerreroo 4 ปีที่แล้ว

      You need to use the address space service host, not the pod host. That should never change.