kinesis-consumer/all_pass_filter.go

10 lines
232 B
Go
Raw Normal View History

package connector
// A basic implementation of the Filter interface that returns true for all records.
type AllPassFilter struct{}
// Returns true for all records.
func (b *AllPassFilter) KeepRecord(m Model) bool {
return true
}