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

SampleConsumer Not Reading records #37

Open
freeborn5 opened this issue Oct 30, 2019 · 0 comments
Open

SampleConsumer Not Reading records #37

freeborn5 opened this issue Oct 30, 2019 · 0 comments

Comments

@freeborn5
Copy link

I have downloaded the latest AWS_KCL_DotNet from GitHub. I configured the producer to write to my Stream I set up. I have a Lambda that reads the stream and see the sample records in the stream.

The Consumer is confusing to me I think because most of the logic is called from the Java library.

I changed the Main Method a bit to see if I can call the methods In the Main Method to try and do the following... Which is explained in the AWS documentation

public void Initialize(InitializationInput input)
public void ProcessRecords(ProcessRecordsInput input)
public void Shutdown(ShutdownInput input)

But none of them are exposed. where am I going wrong?

        public static void Main(string[] args)
        {
            try
            {
                SampleRecordProcessor s = new SampleRecordProcessor();
                var k = KclProcess.Create(s);
                k.Run();
               // KclProcess.Create(new SampleRecordProcessor()).Run();
            }
            catch (Exception e)
            {
                Console.Error.WriteLine("ERROR: " + e);
            }

I have configured the properties correctly, I am not getting any kind of Error but I do not see any records in the DotNetKinesisSample

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

No branches or pull requests

1 participant