// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ========================================================================== using System.ComponentModel.DataAnnotations; using Squidex.Domain.Apps.Core.HandleRules; using Squidex.Domain.Apps.Core.Rules; namespace Squidex.Extensions.Actions.Kafka { [RuleAction( Title = "Kafka", IconImage = "", IconColor = "#404244", Display = "Push to kafka", Description = "Connect to Kafka stream and push data to that stream.", ReadMore = "https://kafka.apache.org/quickstart")] public sealed class KafkaAction : RuleAction { [Required] [Display(Name = "Topic Name", Description = "The name of the topic.")] [DataType(DataType.Text)] [Formattable] public string TopicName { get; set; } } }