Skip to content

Commit

Permalink
force namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
benmoriceau committed Oct 2, 2023
1 parent e396025 commit f3a8dc0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@ public void accept(final String messageString, final Integer sizeInBytes) throws
*/
final var message = deserializeAirbyteMessage(messageString);
if (Type.RECORD.equals(message.getType())) {
if (Strings.isNullOrEmpty(message.getRecord().getNamespace())) {
//if (Strings.isNullOrEmpty(message.getRecord().getNamespace())) {
message.getRecord().setNamespace(defaultNamespace);
}
//}
validateRecord(message);
} else if (Type.STATE.equals(message.getType())) {
lastState = message;
Expand Down

0 comments on commit f3a8dc0

Please sign in to comment.