Skip to content

Commit

Permalink
Reinstate missing line
Browse files Browse the repository at this point in the history
  • Loading branch information
bartelink committed Dec 24, 2021
1 parent ad92eb6 commit 10a610e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion propulsion-reactor/Program.fs
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,8 @@ let build (args : Args.Arguments) =
let source, context, monitored, leases, processorName, startFromTail, maxItems, lagFrequency = args.SourceParams()
#endif
#else // kafkaEventSpans -> wire up consumption from Kafka, with auxiliary `cosmos` store
let consumerConfig =
let source = args.Source
let consumerConfig =
FsKafka.KafkaConsumerConfig.Create(
AppName, source.Broker, [source.Topic], args.ProcessorName, Confluent.Kafka.AutoOffsetReset.Earliest,
maxInFlightBytes = source.MaxInFlightBytes, ?statisticsInterval = source.LagFrequency)
Expand Down

0 comments on commit 10a610e

Please sign in to comment.