Skip to content

Conversation

@tzulitai
Copy link
Contributor

@tzulitai tzulitai commented Feb 26, 2020

Changelog description

  • a6a8855 Adds a new *-e2e module for the new E2E test.
  • ef3b31f Adds the verification application to test against. Please see Javadoc of RoutableKafkaVerificationModule on what it does.
  • e0c2b1d A preliminary addition to StatefulFunctionsAppContainers that allows the E2E to add YAML module definitions to be added to the application image build context.
  • 652b132 Adds the actual E2E test. See Javadoc of RoutableKafkaE2E on how it verifies the ingress' functionality.

Verifying

Run mvn clean verify -Prun-e2e-tests to run the E2E test (or in the IDE).

… testing

This is a a simple application used for testing the routable Kafka
ingress.

The application reads untagged messages from a Kafka ingress, binds
multiple functions which has the sole purpose of tagging of messages
with their own addresses (see FnSelfAddressTagger), and then sending
back the tagged messages back to a Kafka egress.
…xt in StatefulFunctionsAppContainers

This functionality will be required by e2e tests that need to add
additional classpath files to the app image build context, e.g. adding a
YAML file module definition.
End-to-end test based on the {@link RoutableKafkaVerificationModule} application.

This test writes some records to Kafka, with target function id as key
(UTF8 String) and MessageWithAddress messages as value, without the
"from" field set. The routable Kafka ingress should automatically route
them to the correct function instances, which tag the input messages
with their own address, and then forwards it back to Kafka. The test
verifies that the tagged outputs written back to Kafka are correct.
@tzulitai
Copy link
Contributor Author

@igalshilman I've rebased this on the latest master after merging #35.
Would you want to take a look at this as well?

@igalshilman
Copy link
Contributor

Let’s merge it, so it won’t diverge too much.

@tzulitai
Copy link
Contributor Author

tzulitai commented Mar 3, 2020

Thanks! Merging ...

@tzulitai tzulitai closed this in 1fe23c0 Mar 3, 2020
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