pub fn api_poll_source_factory(
id: &str,
config: Value,
retry: Option<RetryPolicy>,
) -> Result<Box<dyn Source>>Expand description
Registry factory for ApiPollSource. Registered by
courier::registry::register_builtin under kind "api_poll". The
optional retry policy is extracted by the registry and threaded into
the source’s PollScheduler.