From 013e4079c34d299330b9fc06649438e6d9da3074 Mon Sep 17 00:00:00 2001 From: Adam R Grey Date: Tue, 13 Dec 2022 12:34:19 -0500 Subject: [PATCH] bump version --- franz/Telefranz.cs | 7 +++++-- franz/franz.csproj | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/franz/Telefranz.cs b/franz/Telefranz.cs index 15a6983..1ee973c 100644 --- a/franz/Telefranz.cs +++ b/franz/Telefranz.cs @@ -27,7 +27,10 @@ namespace franz topic = messageType.ToString(); topicConsumer = new ConsumerBuilder(Telefranz.config).Build(); } + +#pragma warning disable 1998 private async void ConsumeTaskFor(string topic, CancellationToken token) +#pragma warning restore 1998 { try { @@ -88,7 +91,7 @@ namespace franz private string handling_group { get; set; } = "Liszt"; private IProducer producer { get; set; } private gray_messages.global.report howToReport { get; set; } - ///yours to mine + private Dictionary> wrappedEventMap = new Dictionary>(); private Dictionary Consumptions { get; set; } = new Dictionary(); protected static ConsumerConfig config { get; set; } @@ -186,7 +189,7 @@ namespace franz public void ProduceMessage(T message) where T : gray_messages.message { - Console.WriteLine(message.ToString()); + //Console.WriteLine(message.ToString()); producer.Produce(typeof(T).ToString(), new Message { Key = handling_group, Value = message.ToString() }, (deliveryReport) => diff --git a/franz/franz.csproj b/franz/franz.csproj index 8827975..4768b11 100644 --- a/franz/franz.csproj +++ b/franz/franz.csproj @@ -3,7 +3,7 @@ net6.0 greyn.franz - 1.1.0 + 2.0.0 Adam R Grey