Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Destination Kinesis: missing required fields in specification #13443

Closed
marcosmarxm opened this issue Jun 2, 2022 · 0 comments · Fixed by #16952
Closed

Destination Kinesis: missing required fields in specification #13443

marcosmarxm opened this issue Jun 2, 2022 · 0 comments · Fixed by #16952

Comments

@marcosmarxm
Copy link
Member

Problem was reported here: https://discuss.airbyte.io/t/setting-up-kinesis-as-a-destination/1268/12
Looks endpoint and region are required fields

public KinesisConfig(JsonNode jsonNode) {
String strend = jsonNode.get("endpoint").asText();
try {
this.endpoint = strend != null && !strend.isBlank() ? new URI(strend) : null;
} catch (URISyntaxException e) {
throw new UncheckedURISyntaxException(e);
}
this.region = jsonNode.get("region").asText();
this.shardCount = jsonNode.get("shardCount").asInt(5);
this.accessKey = jsonNode.get("accessKey").asText();
this.privateKey = jsonNode.get("privateKey").asText();
this.bufferSize = jsonNode.get("bufferSize").asInt(100);
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment