# S3 sink connector TimeBasePartitioner RecordField

**URL:** <https://forum.confluent.io/t/s3-sink-connector-timebasepartitioner-recordfield/11341>\
**Category:** Managed Connectors\
**Created:** [31 August 2024 11:24 UTC](https://forum.confluent.io/t/s3-sink-connector-timebasepartitioner-recordfield/11341 "2024-08-31T11:24:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nestor](https://avatars.discourse-cdn.com/v4/letter/n/e495f1/32.png) [@nestor](https://forum.confluent.io/u/nestor)\
**Post date:** [31 August 2024 11:24 UTC](https://forum.confluent.io/t/s3-sink-connector-timebasepartitioner-recordfield/11341/1 "2024-08-31T11:24:17Z")

</div>

I want to use TimeBasePartitioner and use RecordField for partitioning.  
here is my configs:

```auto
"partition.duration.ms": "86400000",
"partitioner.class": "io.confluent.connect.storage.partitioner.TimeBasedPartitioner",
"timestamp.extractor": "RecordField",
"timestamp.field": "timestamp",
"timezone": "UTC",
"locale": "US",

```

my input is something like this:

```auto
{
"id": 5653383,
"service_type": 1,
"speed": 7,
"status": 4,
"timestamp": 1725089735
}

```

but all records sink to 1970-01-20

Also I tried to use “transforms”: “TimestampConverter” with these configs:

```auto
    "transforms": "TimestampConverter",
    "transforms.TimestampConverter.field": "timestamp",
    "transforms.TimestampConverter.target.type": "Timestamp",
    "transforms.TimestampConverter.type": "org.apache.kafka.connect.transforms.TimestampConverter$Value",
    "transforms.TimestampConverter.unix.precision": "milliseconds",

```

but it parsed all values to 1970-01-20
