use of org.apache.beam.sdk.coders.CoderRegistry in project beam by apache.
the class KafkaIOTest method testInferKeyCoderFailure.
@Test
public void testInferKeyCoderFailure() throws Exception {
cannotInferException.expect(RuntimeException.class);
CoderRegistry registry = CoderRegistry.createDefault();
KafkaIO.inferCoder(registry, NonInferableObjectDeserializer.class);
}
Aggregations