Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix CI workflow #4

Merged
merged 3 commits into from
Nov 5, 2023
Merged

Conversation

KeranYang
Copy link
Contributor

@KeranYang KeranYang commented Nov 3, 2023

Small changes to the folder structure of the repo.
Also fixed the lint issues.

.
Signed-off-by: Keran Yang <yangkr920208@gmail.com>
.
Signed-off-by: Keran Yang <yangkr920208@gmail.com>
.
Signed-off-by: Keran Yang <yangkr920208@gmail.com>
@KeranYang KeranYang changed the title WIP - fix lint and e2e chore: fix CI workflow Nov 3, 2023
@KeranYang
Copy link
Contributor Author

@shubhamdixit863 Please review. When you have time, could you work on #5 ?

@@ -99,24 +110,20 @@ func (s *AWSSqsSource) Read(_ context.Context, readRequest sourcesdk.ReadRequest
case <-ctx.Done():
return
default:
s.lock.Lock()
messageCh <- sourcesdk.NewMessage(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is the mutex lock not necessary here ?

Copy link
Contributor Author

@KeranYang KeranYang Nov 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not necessary. It was introduced to protect the toAckSet.

@shubhamdixit863 shubhamdixit863 merged commit 1c08711 into numaproj-contrib:main Nov 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants