Uh oh!
There was an error while loading. Please reload this page.
Bq proto abstractions - #3
Conversation
af41a26 to
d535968CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| Map<String, Object> getMapping(); | ||
| } No newline at end of file | ||
| void validate(OdpfSinkConfig config); |
There was a problem hiding this comment.
I am assuming validate will be used to check the configs and then after we will call getRaw or getMapping. However, it neither returns a boolean nor throws any exceptions. How will this be used ?
There was a problem hiding this comment.
yea we can think about the method signature. it can just log or throw runtime exception too, we don't have to declare RuntimeException.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
5006196 to
2d77c4dCompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| @ConverterClass(InputSchemaDataTypeConverter.class) | ||
| @DefaultValue("PROTOBUF") | ||
| InputSchemaDataType getInputSchemaDataTye(); | ||
| InputSchemaDataType getSinkConnectorSchemaDataTye(); |
There was a problem hiding this comment.
There's a typo in the getter name 'Tye'. Also, Do you want to keep Object and Converter class names like this or with prefix 'SinkConnector' ?
Unable to comment there so adding it in this thread. Let's keep the key and getter names in sync for line 41
There was a problem hiding this comment.
Right. I will check the configs.
Uh oh!
There was an error while loading. Please reload this page.
No description provided.