public class UnwrapFromEnvelopeTest extends Object
| Modifier and Type | Field and Description |
|---|---|
private static String |
DROP_DELETES |
private static String |
DROP_TOMBSTONES |
private static String |
HANDLE_DELETES |
private static String |
OPERATION_HEADER |
| Constructor and Description |
|---|
UnwrapFromEnvelopeTest() |
| Modifier and Type | Method and Description |
|---|---|
private org.apache.kafka.connect.source.SourceRecord |
createCreateRecord() |
private org.apache.kafka.connect.source.SourceRecord |
createDeleteRecord() |
private org.apache.kafka.connect.source.SourceRecord |
createUnknownRecord() |
private org.apache.kafka.connect.source.SourceRecord |
createUnknownUnnamedSchemaRecord() |
private String |
getSourceRecordHeaderByKey(org.apache.kafka.connect.source.SourceRecord record,
String headerKey) |
void |
testDeleteDroppedByDefault() |
void |
testDeleteDroppedConfigured() |
void |
testDeleteForwardConfigured() |
void |
testHandleCreateRewrite() |
void |
testHandleDeleteDrop() |
void |
testHandleDeleteNone() |
void |
testHandleDeleteRewrite() |
void |
testIgnoreUnknownRecord() |
void |
testTombstoneDroppedByDefault() |
void |
testTombstoneDroppedConfigured() |
void |
testTombstoneForwardConfigured() |
void |
testUnwrapCreateRecord() |
void |
testUnwrapPropagatesRecordHeaders() |
private static final String DROP_DELETES
private static final String DROP_TOMBSTONES
private static final String HANDLE_DELETES
private static final String OPERATION_HEADER
public void testTombstoneDroppedByDefault()
public void testTombstoneDroppedConfigured()
public void testTombstoneForwardConfigured()
private org.apache.kafka.connect.source.SourceRecord createDeleteRecord()
private org.apache.kafka.connect.source.SourceRecord createCreateRecord()
private org.apache.kafka.connect.source.SourceRecord createUnknownRecord()
private org.apache.kafka.connect.source.SourceRecord createUnknownUnnamedSchemaRecord()
private String getSourceRecordHeaderByKey(org.apache.kafka.connect.source.SourceRecord record, String headerKey)
public void testDeleteDroppedByDefault()
public void testDeleteDroppedConfigured()
public void testDeleteForwardConfigured()
public void testHandleDeleteDrop()
public void testHandleDeleteNone()
public void testHandleDeleteRewrite()
public void testHandleCreateRewrite()
public void testUnwrapCreateRecord()
public void testIgnoreUnknownRecord()
Copyright © 2019 JBoss by Red Hat. All rights reserved.