You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

16 lines
365 B

  1. using Confluent.Kafka;
  2. using Microsoft.Extensions.Options;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Text;
  6. namespace JT808.Gateway.Configs.Kafka
  7. {
  8. public class JT808ConsumerConfig: ConsumerConfig, IOptions<JT808ConsumerConfig>
  9. {
  10. public string TopicName { get; set; }
  11. public JT808ConsumerConfig Value => this;
  12. }
  13. }