ndy2
@ndy2
Reviews Written
8
Average Rating
5.0
Posts
Q&A
ConsumerConfig.GROUP_ID_CONFIG ์๋ฌ
@KafkaListener(topics = "example-catalog-topic", groupId = "consumerGroupId")์ ๋ ๋์ผํ ์๋ฌ๊ฐ ๋ฐ์ํ๋๋ฐ ์ด๋ ธํ ์ด์ ์ groupId ๋ฅผ ์ง์ ํด์ฃผ๋ ํด๊ฒฐ๋๋ค์
- 0
- 3
- 1.8K
Q&A
Source Connector ์ค๋ฅ
์ ๋ ๊ฐ์ ์์ธ๋ฅผ ๋ง๋ฌ๋๋ฐ ํ์ธํด๋ณด๋ Caused by: org.apache.kafka.connect.errors.ConnectException: The connector uses the unqualified table name as the topic name and has detected duplicate unqualified table names. This could lead to mixed data types in the topic and downstream processing errors. To prevent such processing errors, the JDBC Source connector fails to start when it detects duplicate table name configurations. Update the connector's 'table.whitelist' config to include exactly one table in each of the tables listed below. [["linkocean"."users", "linkoceantest"."users", "mydb"."users"]] at io.confluent.connect.jdbc.source.TableMonitorThread.tables(TableMonitorThread.java:152) ... 14 more์ด๋ฐ ๋ก๊ทธ๊ธฐ ์ฐํ ๋ณด๋ ๋ค๋ฅธ schema ๋ผ ํ ์ง๋ผ๋ ํ์ฌ ์ฐ๊ฒฐ๋ ๋ฐ์ดํฐ๋ฒ ์ด์ค์ ๊ฐ์ ์ด๋ฆ์ table ์ด ์์ผ๋ฉด ํ ์ด๋ธ์ ์ฐพ์ง ๋ชปํ๋ ์์ธ๊ฐ ๋ฐ์ํ๋ ๊ฒ ๊ฐ์ต๋๋ค. dwa08 ๋์ ํ ์ด๋ธ ์ด๋ฆ์ ๋ณ๊ฒฝํ๋ ๋ฐฉ์์ผ๋ก ํด๊ฒฐํ์ จ๋๋ฐ์ปค๋ฅ์ ์ ์์ฑํ๋ api ์์ฒญ์ table.whitelist ์ ์ ์ ์ฐ์ด shema ๋ฅผ ๋ช ์ํด์ฃผ๋ ๋ฐฉ์์ผ๋ก๋ ํด๊ฒฐํ ์ ์๋ค์ { "name" : "my-source-connect", "config" : { "connector.class" : "io.confluent.connect.jdbc.JdbcSourceConnector", "connection.url":"jdbc:mysql://localhost:3306/mydb", "connection.user":"root", "connection.password":"root1234", "mode": "incrementing", "incrementing.column.name" : "id", "table.whitelist":"mydb.users", "topic.prefix" : "my_topic_", "tasks.max" : "1" } }
- 2
- 3
- 2.4K
Q&A
์ดํ๋ฆฌ์ผ์ด์ ๋ก์ง์ด ํ์ํ ๊ฒ์ฆ์ ๋ถ๋ฆฌ
๋ต๋ณ ๊ฐ์ฌํฉ๋๋ค!
- 1
- 2
- 350
Q&A
H2 DB tcp์ฐ๊ฒฐ ๋ถ๊ฐ
ํด๊ฒฐํ์ง ๋ชปํ์ง๋ง DB๋ฅผ MySQL๋ก ๋ฐ๊พธ์ด ๊ฐ์ ๊ณ์ ๋ค์ ์ ์๋ ํ๊ฒฝ์ ๊ฐ์ถ์์ต๋๋ค. :) MySQL๋ก ์ญ์ญ ๋ฃ๊ฒ ์ต๋๋ค ๊ฐ์ฌํฉ๋๋ค!
- 0
- 2
- 725




