firehose

package
v0.0.1-alpha.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Package firehose provides a basic emulation of Amazon Data Firehose (formerly Kinesis Data Firehose).

Implemented operations: CreateDeliveryStream, DescribeDeliveryStream, ListDeliveryStreams, DeleteDeliveryStream, PutRecord, PutRecordBatch.

Records are accepted but silently discarded (no S3 buffering).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeliveryStream

type DeliveryStream struct {
	DeliveryStreamName   string `json:"DeliveryStreamName"`
	DeliveryStreamARN    string `json:"DeliveryStreamARN"`
	DeliveryStreamStatus string `json:"DeliveryStreamStatus"`
	DeliveryStreamType   string `json:"DeliveryStreamType"`
}

DeliveryStream represents a Firehose delivery stream.

type Service

type Service struct {
	// contains filtered or unexported fields
}

Service implements router.Service and router.TargetDispatcher for Firehose.

func New

func New(cfg *config.Config, st state.Store, logger *zap.Logger, _ clock.Clock) *Service

New returns a configured Firehose Service.

func (*Service) Dispatch

func (s *Service) Dispatch(w http.ResponseWriter, r *http.Request)

func (*Service) Name

func (s *Service) Name() string

func (*Service) Operations

func (s *Service) Operations() []op.Operation

func (*Service) RegisterRoutes

func (s *Service) RegisterRoutes(_ chi.Router)

func (*Service) SupportedProtocols

func (s *Service) SupportedProtocols() []codec.Codec

func (*Service) TargetPrefix

func (s *Service) TargetPrefix() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL