Skip to content

Commit

Permalink
Target Confluent.Kafka 1.0.0-RC6
Browse files Browse the repository at this point in the history
  • Loading branch information
bartelink committed Apr 23, 2019
1 parent 612d3ed commit 4c2c052
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ See [the Equinox QuickStart](https://github.com/jet/equinox#quickstart) for exam
The components within this repository are delivered as (presently single) multi-targeted Nuget package targeting `net461` (F# 3.1+) and `netstandard2.0` (F# 4.5+) profiles

- [![NuGet](https://img.shields.io/nuget/vpre/Jet.ConfluentKafka.FSharp.svg)](https://www.nuget.org/packages/Jet.ConfluentKafka.FSharp/) `Jet.ConfluentKafka.FSharp`: Wraps `Confluent.Kafka` to provide efficient batched Kafka Producer and Consumer configurations, with basic logging instrumentation.
[Depends](https://www.fuget.org/packages/Jet.ConfluentKafka.FSharp) on `Confluent.Kafka [1.0.0-RC4]`, `librdkafka [1.0.0]` (pinned to ensure we use a tested pairing enterprise wide), `Serilog` (but no specific Serilog sinks, i.e. you configure to emit to `NLog` etc) and `Newtonsoft.Json` (used internally to parse Statistics for logging purposes).
[Depends](https://www.fuget.org/packages/Jet.ConfluentKafka.FSharp) on `Confluent.Kafka [1.0.0-RC6]`, `librdkafka [1.0.0]` (pinned to ensure we use a tested pairing enterprise wide), `Serilog` (but no specific Serilog sinks, i.e. you configure to emit to `NLog` etc) and `Newtonsoft.Json` (used internally to parse Statistics for logging purposes).

## CONTRIBUTING

Expand Down
2 changes: 1 addition & 1 deletion src/Jet.ConfluentKafka.FSharp/ConfluentKafka.fs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ type KafkaProducer private (log: ILogger, producer : IProducer<string, string>,
results.[i - 1] <- m
if i = numMessages then tcs.TrySetResult results |> ignore
for key,value in keyValueBatch do
producer.BeginProduce(topic, Message<_,_>(Key=key, Value=value), deliveryHandler = handler)
producer.Produce(topic, Message<_,_>(Key=key, Value=value), deliveryHandler = handler)
producer.Flush(ct)
log.Debug("Produced {count}",!numCompleted)
return! Async.AwaitTaskCorrect tcs.Task }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<PackageReference Include="FSharp.Core" Version="4.3.4" Condition=" '$(TargetFramework)' == 'netstandard2.0' " />

<PackageReference Include="Newtonsoft.Json" Version="11.0.2" />
<PackageReference Include="Confluent.Kafka" Version="[1.0.0-RC4]" />
<PackageReference Include="Confluent.Kafka" Version="[1.0.0-RC6]" />
<PackageReference Include="librdkafka.redist" Version="[1.0.0]" />
<PackageReference Include="Serilog" Version="2.7.1" />
</ItemGroup>
Expand Down

0 comments on commit 4c2c052

Please sign in to comment.