Skip to content

Conversation

@lavkesh
Copy link
Member

@lavkesh lavkesh commented Apr 25, 2022

No description provided.

@lavkesh lavkesh force-pushed the bq-proto-abstractions branch from af41a26 to d535968 Compare April 25, 2022 12:15

Map<String, Object> getMapping();
}
void validate(OdpfSinkConfig config);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yea we can think about the method signature. it can just log or throw runtime exception too, we don't have to declare RuntimeException.

@lavkesh lavkesh force-pushed the bq-proto-abstractions branch from 5006196 to 2d77c4d Compare April 26, 2022 08:42
@lavkesh lavkesh merged commit e62c8a4 into main Apr 27, 2022
@ConverterClass(InputSchemaDataTypeConverter.class)
@DefaultValue("PROTOBUF")
InputSchemaDataType getInputSchemaDataTye();
InputSchemaDataType getSinkConnectorSchemaDataTye();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. 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' ?

  2. Unable to comment there so adding it in this thread. Let's keep the key and getter names in sync for line 41

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right. I will check the configs.

@lavkesh lavkesh deleted the bq-proto-abstractions branch May 12, 2022 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants