File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
crates/ingress-writer/src Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -24,11 +24,7 @@ struct Args {
2424 #[ arg( long, env = "TIPS_INGRESS_WRITER_KAFKA_PROPERTIES_FILE" ) ]
2525 kafka_properties_file : String ,
2626
27- #[ arg(
28- long,
29- env = "TIPS_INGRESS_KAFKA_TOPIC" ,
30- default_value = "tips-ingress"
31- ) ]
27+ #[ arg( long, env = "TIPS_INGRESS_KAFKA_TOPIC" , default_value = "tips-ingress" ) ]
3228 ingress_topic : String ,
3329
3430 #[ arg(
@@ -143,7 +139,12 @@ async fn main() -> Result<()> {
143139 let bundle_store = PostgresDatastore :: connect ( args. database_url ) . await ?;
144140 bundle_store. run_migrations ( ) . await ?;
145141
146- let writer = IngressWriter :: new ( consumer, args. ingress_topic . clone ( ) , bundle_store, publisher) ?;
142+ let writer = IngressWriter :: new (
143+ consumer,
144+ args. ingress_topic . clone ( ) ,
145+ bundle_store,
146+ publisher,
147+ ) ?;
147148
148149 info ! (
149150 "Ingress Writer service started, consuming from topic: {}" ,
You can’t perform that action at this time.
0 commit comments