Interface RecordGrouper
- All Known Implementing Classes:
KeyRecordGrouper
public interface RecordGrouper
The interface for classes that associates
SinkRecords with files by some criteria.-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
put
void put(org.apache.kafka.connect.sink.SinkRecord record) Associate the record with the appropriate file.- Parameters:
record- - record to group
-
clear
void clear()Clear all records. -
records
Get all records associated with files, grouped by the file name.- Returns:
- map of records assotiated with files
-