电子围栏推送服务
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

26 行
688B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace TelpoPush.Fence.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 int MaxDegreeOfParallelism { get; set; }
  21. public int CacheDurationSeconds { get; set; }
  22. }
  23. }