jorick caberio
07/29/2023, 2:27 PMmaxBatchSize however Feature Store does not support batching. I can only call PutRecord which only inserts one record. Should my maxBatchSize be just 1?
I already have a working sql connector but I'm not sure about the configurations. My current implementation just copied the sink options from dynamodb connector.Danny Cranmer
07/31/2023, 8:31 AMTheDoes it make sense to model the "batch" as theAPI is used to ingest a list ofPutRecordinto your feature group.Records
List<Record>. Your element converter would output Record and then you generate the PutRecordRequest in submitRequestEntries ? Or are your upstream operators already generating List<Record>?
So your Sink definition would look like this:
public class SageMakerFeatureStoreSink<InputT> extends AsyncSinkBase<InputT, Record> { ...
If this is not feasible then yes, you can set maxBatchSize to 1.