DTStack / DTStack/flinkStreamSQL
es5和es的sink插件id参数不填时, 报空指针异常
- Dominant language
- Java
- Stars
- 2k
- Forks
- 913
- PR merge metrics
- No merged PRs in 30d
Description
配置文件
CREATE TABLE kafka(
id varchar
)WITH(
bootstrapServers='10.10.14.117:9092',
timezone='Asia/Shanghai',
groupId='ddd',
parallelism='1',
topic='ddd',
offsetReset='latest',
sourcedatatype='dt_nest',
type='kafka');
CREATE TABLE es(
id varchar
)WITH(
sourceid='b93d1e56-0b17-4855-a60f-bd18fd245a78',
cluster='aiops-cluster',
address='10.10.14.51:9200',
parallelism='1',
index='myresult',
estype='_doc',
authMesh='false',
type='elasticsearch');
insert into es select id from kafka;
出现以下错误

Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the issue with the Kafka-to-Elasticsearch SQL configuration in the report, leaving the sink plugin's id parameter unset. Inspect the ES5 and ES sink handling reached by this configuration and capture the full exception from the linked screenshot context. Done means the same configuration no longer produces a null pointer exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, sql
- Domain
- backend, data-engineering
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100