inflearn logo
강의

Khóa học

Chia sẻ kiến thức

[Lập trình ứng dụng Apache Kafka] Từ ý tưởng đến người tiêu dùng, nhà sản xuất, kết nối và truyền phát!

카프카 커넥터를 두가지 사용하는 이유

Đã giải quyết

896

aylee3839

1 câu hỏi đã được viết

0

안녕하세요 카프카 커넥터를 적용해보려고, 공부중인데, 많은 예시에서 JDBC Connector와 Kafka MySQL Conenctor 두가지를 사용하더라구요

JDBC Connector는 데이터를 관계형 DB와 잘 연동되게 가져오고 넣기위한 소스들을 제공하는 커넥터이고, Kafka MySQL Connector는 카프카와 MySQL DB를 연결하기위한 커넥터이다.
라고 제가 이해하고 있는데, 맞는건가요?

데이터 엔지니어링 Kafka

Câu trả lời 1

0

dvwy

안녕하세요 카프카 커넥터의 종류에 따라 사용 용도가 모두 다릅니다. 그렇기 때문에 말씀하신 내용으로는 정확히 어떤 역할을 뜻하는지 알기 어렵습니다. 각 커넥터의 description을 확인하시는 것이 좋을거 같네요

  • https://docs.confluent.io/kafka-connectors/jdbc/current/sink-connector/overview.html : The Kafka Connect JDBC Sink connector allows you to export data from Apache Kafka® topics to any relational database with a JDBC driver. This connector can support a wide variety of databases. The connector polls data from Kafka to write to the database based on the topics subscription. It is possible to achieve idempotent writes with upserts. Auto-creation of tables and limited auto-evolution is also supported.

  • https://docs.confluent.io/cloud/current/connectors/cc-mysql-source.html : The Kafka Connect MySQL Source connector for Confluent Cloud can obtain a snapshot of the existing data in a MySQL database and then monitor and record all subsequent row-level changes to that data. The connector supports Avro, JSON Schema, Protobuf, or JSON (schemaless) output data formats. All of the events for each table are recorded in a separate Apache Kafka® topic. The events can then be easily consumed by applications and services. Note that deleted records are not captured.

카프카 ISR 개념 부분 질문

0

479

1

브로커, 토픽, 파티션관계

0

674

1

커넥트(소스), 커넥트(싱크)

1

531

1

카프카 isr 질문 있어요

0

325

1

파티션 질문 있어요

0

385

1

명령어 관련 문의드립니다.

0

422

2

토픽의 레코드가 라운드로빈으로 배정되는 방식 질문있습니다.

0

421

2

레코드에 json 형태의 데이터 넣는법 질문

0

427

2

카프카 도커로 실행

1

436

1

CCDAK 질문입니다!

0

1344

1

스트림즈 조인에 관련해서 질문드립니다.

0

299

1

min.insync.replicas에서 설정값만큼의 브로커 다운시

0

252

1

브로커로 메시지를 보낼때 null값인 경우

0

461

1

zookeeper 실행시 에러

1

781

1

온프레미스 환경 설치에 대해 질문있습니다.

0

347

1

리밸런싱 시, 메시지 중복 처리 문제

0

1058

1

강사님, Idempotence / transaction의 차이가 궁금합니다.

0

367

1

브로커 장애 발생시 질문

0

329

1

에러 핸들링과 관련하여 질문 드립니다

0

308

1

토픽 생성시 파티션이 배치되는 방법

0

351

1

질문있습니다!

0

133

1

카프카 스트림즈 에러 핸들링 질문 드립니다

0

391

1

카프카 클러스터 질문이 있습니다.

0

176

1

현재 kafka stable 버전이 3.3.1이라고 되어 있습니다.

0

411

1