万佳安设备数据
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.

32 line
924B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace TelpoPush.WanJiaAn.Worker.Models.Config
  7. {
  8. public class ServiceConfig
  9. {
  10. /// <summary>
  11. /// 数据服务Host Url
  12. /// </summary>
  13. public string TelpoDataUrl { get; set; }
  14. /// <summary>
  15. /// Kafka服务地址
  16. /// </summary>
  17. public string KafkaBootstrapServers { get; set; }
  18. public List<string> KafkaTopics { get; set; }
  19. public string KafkaGroupId { get; set; }
  20. public string KafkaUserName { get; set; }
  21. public string KafkaPassword { get; set; }
  22. //public string KafkaSslCaLocation { get; set; }
  23. /// <summary>
  24. /// 默认缓存时间
  25. /// </summary>
  26. public int CacheDurationSeconds { get; set; }
  27. public int CacheDurationSeconds10 { get; set; }
  28. }
  29. }