Closed Max-Meldrum closed 2 years ago
It is currently not possible to do key_by directly on a Source.
key_by
let mut app = Application::with_conf(conf) .iterator((0..1000000).map(|x| Event { id: x, data: 1.5 }), |conf| { conf.set_timestamp_extractor(|x: &Event| x.id); }) .key_by(|event: &Event| &event.id)
It is currently not possible to do
key_by
directly on a Source.