File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
quickwit/quickwit-indexing/src/source Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -115,6 +115,7 @@ pub use vec_source::{VecSource, VecSourceFactory};
115
115
pub use void_source:: { VoidSource , VoidSourceFactory } ;
116
116
117
117
use self :: doc_file_reader:: dir_and_filename;
118
+ use self :: stdin_source:: StdinSourceFactory ;
118
119
use crate :: actors:: DocProcessor ;
119
120
use crate :: models:: RawDocBatch ;
120
121
use crate :: source:: ingest:: IngestSourceFactory ;
@@ -415,6 +416,7 @@ pub fn quickwit_supported_sources() -> &'static SourceLoader {
415
416
source_factory. add_source ( SourceType :: Kinesis , KinesisSourceFactory ) ;
416
417
#[ cfg( feature = "pulsar" ) ]
417
418
source_factory. add_source ( SourceType :: Pulsar , PulsarSourceFactory ) ;
419
+ source_factory. add_source ( SourceType :: Stdin , StdinSourceFactory ) ;
418
420
source_factory. add_source ( SourceType :: Vec , VecSourceFactory ) ;
419
421
source_factory. add_source ( SourceType :: Void , VoidSourceFactory ) ;
420
422
source_factory
Original file line number Diff line number Diff line change @@ -108,10 +108,10 @@ impl Source for StdinSource {
108
108
}
109
109
}
110
110
111
- pub struct FileSourceFactory ;
111
+ pub struct StdinSourceFactory ;
112
112
113
113
#[ async_trait]
114
- impl TypedSourceFactory for FileSourceFactory {
114
+ impl TypedSourceFactory for StdinSourceFactory {
115
115
type Source = StdinSource ;
116
116
type Params = ( ) ;
117
117
You can’t perform that action at this time.
0 commit comments