You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* some-logging-improvements
- log during table creation failures
- some additional logging at critical states between coordinator/worker during commit phase
* comments
Preconditions.checkNotNull(routeField, "Route field cannot be null with dynamic routing");
137
+
Preconditions.checkNotNull(routeField, String.format("Route field cannot be null with dynamic routing at topic: %s, partition: %d, offset: %d", record.topic(), record.kafkaPartition(), record.kafkaOffset()));
LOG.info("Created new table {} from record at topic: {}, partition: {}, offset: {}", identifier, sample.topic(), sample.kafkaPartition(), sample.kafkaOffset());
110
+
}
111
+
});
112
+
returnresult.get();
87
113
} catch (Exceptione) {
88
-
LOG.error(
89
-
"Unable to create partition spec {}, table {} will be unpartitioned",
90
-
partitionBy,
91
-
identifier,
92
-
e);
93
-
spec = PartitionSpec.unpartitioned();
114
+
LOG.error("Error creating new table {} from record at topic: {}, partition: {}, offset: {}", tableName, sample.topic(), sample.kafkaPartition(), sample.kafkaOffset());
115
+
throwe;
94
116
}
95
-
96
-
PartitionSpecpartitionSpec = spec;
97
-
AtomicReference<Table> result = newAtomicReference<>();
LOG.info("Created new table {} from record at topic: {}, partition: {}, offset: {}", identifier, sample.topic(), sample.kafkaPartition(), sample.kafkaOffset());
0 commit comments