When connecting to Snowflake internal stage I am seeing it connect to a different db

让人想犯罪 __ 提交于 2020-03-05 06:06:19

问题


I am connecting through newly released Snowflake Kafka connector using standalone mode. The connector is able to connect to my snowflake account successfully but when it looks for creating internal stage, it doesn't use correct database as in config

This is the content of new connector.properties file:

name=kafkaSnowNow

connector.class=com.snowflake.kafka.connector.SnowflakeSinkConnector

tasks.max=8

topics=kafkaSnow1,kafkaSnow2

snowflake.topic2table.map= kafkaSnow1:kafka_db.kafka_schema.kafkaSnow1,kafkaSnow2:kafka_db.kafka_schema.kafkaSnow2

buffer.count.records=100

buffer.flush.time=60

buffer.size.bytes=65536

snowflake.url.name=https://xyz.ap-southeast-2.snowflakecomputing.com:443

snowflake.user.name=xyz_user

snowflake.private.key=

snowflake.database.name=kafka_db

snowflake.schema.name=kafka_schema

key.converter=org.apache.kafka.connect.storage.StringConverter

value.converter=com.snowflake.kafka.connector.records.SnowflakeJsonConverter

When I start connector, the attempt to write records is being made but it looks for below stage.

desc stage
identifier(SNOWFLAKE_KAFKA_CONNECTOR_kafkaSnowNow_STAGE_kafka_db.kafka_schema.kafkaSnow1)

来源:https://stackoverflow.com/questions/59329007/when-connecting-to-snowflake-internal-stage-i-am-seeing-it-connect-to-a-differen

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!