Using an AWS S3 Store as a Source to Feed an MSK Topic
Before you begin
Creating the stream
CREATE STREAM bronze_taxi_json (
"VendorID" BIGINT,
tpep_pickup_datetime BIGINT, -- epoch-seconds
tpep_dropoff_datetime BIGINT,
passenger_count DOUBLE,
trip_distance DOUBLE,
"RatecodeID" DOUBLE,
store_and_fwd_flag STRING,
"PULocationID" BIGINT,
"DOLocationID" BIGINT,
payment_type BIGINT,
fare_amount DOUBLE,
extra DOUBLE,
mta_tax DOUBLE,
tip_amount DOUBLE,
tolls_amount DOUBLE,
improvement_surcharge DOUBLE,
total_amount DOUBLE,
congestion_surcharge DOUBLE,
airport_fee DOUBLE)
WITH (
'store' = 'yellow-taxi-s3',
'timestamp'= 'tpep_pickup_datetime',
'value.format'='JSONL',
's3.uri' = 's3://s3-demo-bucket/yellow-taxi');Last updated

