Skip to content

Commit

Permalink
feat: remove kafka package from utils
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahanmmi committed Jan 9, 2024
1 parent 9bbc473 commit de8ac66
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/pipeline/sender.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@ import (
"fmt"
v4 "github.com/aws/aws-sdk-go-v2/aws/signer/v4"
"github.com/aws/aws-sdk-go-v2/config"
"github.com/kaytu-io/kaytu-util/pkg/es"
"io"
"net/http"
"strings"
"time"
)

func sendToPipelineIndividually(ingestionPipelineEndpoint string, resourcesToSend []doc.Doc) error {
func sendToPipelineIndividually(ingestionPipelineEndpoint string, resourcesToSend []es.Doc) error {
httpClient := &http.Client{Timeout: 10 * time.Second}
if len(resourcesToSend) == 0 {
return nil
Expand Down

0 comments on commit de8ac66

Please sign in to comment.