Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Factory ¶
func Factory(t BenthosPlugin) plugins.Factory
Types ¶
type BenthosPlugin ¶
type BenthosPlugin string
const (
Pulsar BenthosPlugin = "pulsar"
)
benthos-based data plugins
type Config ¶
type PulsarAuth ¶
type PulsarAuth struct {
OAuth2 PulsarOAuth2 `json:"oauth2,omitempty"`
Token PulsarToken `json:"token,omitempty"`
}
func (*PulsarAuth) Equal ¶
func (c *PulsarAuth) Equal(other *PulsarAuth) bool
type PulsarConfig ¶
type PulsarConfig struct {
URL string `json:"url"`
Topics []string `json:"topics"`
SubscriptionName string `json:"subscription_name"`
SubscriptionType string `json:"subscription_type"`
SubscriptionInitialPosition string `json:"subscription_initial_position"`
Auth *PulsarAuth `json:"auth,omitempty"`
}
func (PulsarConfig) Equal ¶
func (c PulsarConfig) Equal(other PulsarConfig) bool
type PulsarOAuth2 ¶
type PulsarToken ¶
Click to show internal directories.
Click to hide internal directories.