-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add mastodon related config details #556
Conversation
IsRequired: true, | ||
Type: StringType, | ||
Value: "activitypub_events", | ||
Description: "The Kafka topic to publish the ActivityPub data to. If not provided, the data will be published to the default topic", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"The Kafka topic to which the ActivityPub data will be published. By default, the data will be sent to this topic on the Kafka broker running on the Mastodon instance."
@@ -217,8 +226,10 @@ func customWorkerConfig(worker worker.Worker, network network.Source, parameters | |||
return config | |||
} | |||
|
|||
func getEndpointConfig() Endpoint { | |||
return Endpoint{ | |||
const mastodonInstanceDescription = "A Mastodon instance is required. Please follow <a href=\"https://github.com/RSS3-Network/Mastodon-Instance-Kit\" target=\"_blank\">the guide</a> to deploy your own instance. Once deployed, set the endpoint of your Mastodon instance here." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"A Mastodon instance is required. Please follow <a href="https://github.com/RSS3-Network/Mastodon-Instance-Kit\" target="_blank">the guide to either deploy a new Mastodon instance or modify an existing Mastodon instance. After completing either option, enter your Mastodon endpoint (format: your_instance_ip:9092) here."
IsRequired: true, | ||
Type: StringType, | ||
Value: "activitypub_events", | ||
Description: "The Kafka topic to publish the ActivityPub data to. If not provided, the data will be published to the default topic", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could revise this as suggested above.
feat: add mastodon related config details (#556) feat: change rss to object and add default network endpoint url (#557) feat: add title and key in config detail (#558) chore: reorder the worker configs (#559) fix: change mastodon endpoint type to string (#560) feat: add default value and type for worker endpoint config
Summary
add mastodon related config details
Checklist
Does this PR introduce a breaking change?