heapsterk8s.io/heapster/common/kafka Index | Files

package kafka

import "k8s.io/heapster/common/kafka"

Copyright 2014 Google Inc. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

const (
	TimeSeriesTopic = "timeseriestopic"
	EventsTopic     = "eventstopic"
)

Types

type GologAdapterLogger

type GologAdapterLogger struct {
}

func (GologAdapterLogger) Debug

func (GologAdapterLogger) Debug(msg string, args ...interface{})

func (GologAdapterLogger) Error

func (GologAdapterLogger) Error(msg string, args ...interface{})

func (GologAdapterLogger) Info

func (GologAdapterLogger) Info(msg string, args ...interface{})

func (GologAdapterLogger) Warn

func (GologAdapterLogger) Warn(msg string, args ...interface{})

type KafkaClient

type KafkaClient interface {
	Name() string
	Stop()
	ProduceKafkaMessage(msgData interface{}) error
}

func NewKafkaClient

func NewKafkaClient(uri *url.URL, topicType string) (KafkaClient, error)

Source Files

glogadapter.go kafka.go

Version
v1.5.4 (latest)
Published
Jul 26, 2018
Platform
linux/amd64
Imports
7 packages
Last checked
20 hours ago

Tools for package owners.