bump version
This commit is contained in:
parent
e472087189
commit
013e4079c3
@ -27,7 +27,10 @@ namespace franz
|
|||||||
topic = messageType.ToString();
|
topic = messageType.ToString();
|
||||||
topicConsumer = new ConsumerBuilder<string, string>(Telefranz.config).Build();
|
topicConsumer = new ConsumerBuilder<string, string>(Telefranz.config).Build();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pragma warning disable 1998
|
||||||
private async void ConsumeTaskFor(string topic, CancellationToken token)
|
private async void ConsumeTaskFor(string topic, CancellationToken token)
|
||||||
|
#pragma warning restore 1998
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
@ -88,7 +91,7 @@ namespace franz
|
|||||||
private string handling_group { get; set; } = "Liszt";
|
private string handling_group { get; set; } = "Liszt";
|
||||||
private IProducer<string, string> producer { get; set; }
|
private IProducer<string, string> producer { get; set; }
|
||||||
private gray_messages.global.report howToReport { 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<object, Action<object>> wrappedEventMap = new Dictionary<object, Action<object>>();
|
||||||
private Dictionary<string, TopicConsumption> Consumptions { get; set; } = new Dictionary<string, TopicConsumption>();
|
private Dictionary<string, TopicConsumption> Consumptions { get; set; } = new Dictionary<string, TopicConsumption>();
|
||||||
protected static ConsumerConfig config { get; set; }
|
protected static ConsumerConfig config { get; set; }
|
||||||
@ -186,7 +189,7 @@ namespace franz
|
|||||||
|
|
||||||
public void ProduceMessage<T>(T message) where T : gray_messages.message
|
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() },
|
producer.Produce(typeof(T).ToString(), new Message<string, string> { Key = handling_group, Value = message.ToString() },
|
||||||
(deliveryReport) =>
|
(deliveryReport) =>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net6.0</TargetFramework>
|
<TargetFramework>net6.0</TargetFramework>
|
||||||
<PackageId>greyn.franz</PackageId>
|
<PackageId>greyn.franz</PackageId>
|
||||||
<Version>1.1.0</Version>
|
<Version>2.0.0</Version>
|
||||||
<Authors>Adam R Grey</Authors>
|
<Authors>Adam R Grey</Authors>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user