bump version

This commit is contained in:
Adam R Grey 2022-12-13 12:34:19 -05:00
parent e472087189
commit 013e4079c3
2 changed files with 6 additions and 3 deletions

View File

@ -27,7 +27,10 @@ namespace franz
topic = messageType.ToString();
topicConsumer = new ConsumerBuilder<string, string>(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<string, string> producer { get; set; }
private gray_messages.global.report howToReport { get; set; }
///yours to mine
private Dictionary<object, Action<object>> wrappedEventMap = new Dictionary<object, Action<object>>();
private Dictionary<string, TopicConsumption> Consumptions { get; set; } = new Dictionary<string, TopicConsumption>();
protected static ConsumerConfig config { get; set; }
@ -186,7 +189,7 @@ namespace franz
public void ProduceMessage<T>(T message) where T : gray_messages.message
{
Console.WriteLine(message.ToString());
//Console.WriteLine(message.ToString());
producer.Produce(typeof(T).ToString(), new Message<string, string> { Key = handling_group, Value = message.ToString() },
(deliveryReport) =>

View File

@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<PackageId>greyn.franz</PackageId>
<Version>1.1.0</Version>
<Version>2.0.0</Version>
<Authors>Adam R Grey</Authors>
</PropertyGroup>