File tree 1 file changed +4
-10
lines changed
airbyte-cdk/bulk/toolkits/extract-jdbc/src/main/kotlin/io/airbyte/cdk/read
1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ import com.fasterxml.jackson.databind.node.ObjectNode
6
6
import io.airbyte.cdk.command.OpaqueStateValue
7
7
import io.airbyte.cdk.output.OutputConsumer
8
8
import io.airbyte.cdk.util.Jsons
9
- import io.airbyte.protocol.models.v0.AirbyteMessage
10
9
import io.airbyte.protocol.models.v0.AirbyteRecordMessage
11
10
import java.util.concurrent.atomic.AtomicBoolean
12
11
import java.util.concurrent.atomic.AtomicLong
@@ -48,15 +47,10 @@ sealed class JdbcPartitionReader<P : JdbcPartition<*>>(
48
47
private val outData: ObjectNode = Jsons .objectNode()
49
48
50
49
private val msg =
51
- AirbyteMessage ()
52
- .withType(AirbyteMessage .Type .RECORD )
53
- .withRecord(
54
- AirbyteRecordMessage ()
55
- .withEmittedAt(outputConsumer.emittedAt.toEpochMilli())
56
- .withStream(stream.name)
57
- .withNamespace(stream.namespace)
58
- .withData(outData)
59
- )
50
+ AirbyteRecordMessage ()
51
+ .withStream(stream.name)
52
+ .withNamespace(stream.namespace)
53
+ .withData(outData)
60
54
61
55
val streamFieldNames: List <String > = stream.fields.map { it.id }
62
56
You can’t perform that action at this time.
0 commit comments