Skip to content
This repository was archived by the owner on Sep 2, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/apis/sources/v1beta1/kafka_scheduling.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package v1beta1

import (
"k8s.io/apimachinery/pkg/types"
"knative.dev/eventing-kafka/pkg/apis/duck/v1alpha1"
"knative.dev/eventing/pkg/apis/duck/v1alpha1"
)

func (k *KafkaSource) GetKey() types.NamespacedName {
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/sources/v1beta1/kafka_scheduling_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/types"
"k8s.io/utils/pointer"
"knative.dev/eventing-kafka/pkg/apis/duck/v1alpha1"
"knative.dev/eventing/pkg/apis/duck/v1alpha1"
)

func TestScheduling(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/sources/v1beta1/kafka_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package v1beta1
import (
"fmt"

"knative.dev/eventing-kafka/pkg/apis/duck/v1alpha1"
"knative.dev/eventing/pkg/apis/duck/v1alpha1"

metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
Expand Down
4 changes: 0 additions & 4 deletions pkg/common/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,4 @@ const (

// KafkaTopicConfigRetentionMs is the key in the Sarama TopicDetail ConfigEntries map for retention time (in ms)
KafkaTopicConfigRetentionMs = "retention.ms"

// PodAnnotationKey is an annotation used by the scheduler to be informed of pods
// being evicted and not use it for placing vreplicas
PodAnnotationKey = "eventing.knative.dev/unschedulable"
)
3 changes: 0 additions & 3 deletions pkg/common/scheduler/OWNERS

This file was deleted.

156 changes: 0 additions & 156 deletions pkg/common/scheduler/placement_test.go

This file was deleted.

Loading