|
769 | 769 | supported_destination_sync_modes:
|
770 | 770 | - "overwrite"
|
771 | 771 | - "append"
|
| 772 | +- dockerImage: "airbyte/destination-e2e-test:0.2.0" |
| 773 | + spec: |
| 774 | + documentationUrl: "https://example.com" |
| 775 | + connectionSpecification: |
| 776 | + $schema: "http://json-schema.org/draft-07/schema#" |
| 777 | + title: "E2E Test Destination Spec" |
| 778 | + type: "object" |
| 779 | + oneOf: |
| 780 | + - title: "Logging" |
| 781 | + required: |
| 782 | + - "type" |
| 783 | + - "logging_config" |
| 784 | + properties: |
| 785 | + type: |
| 786 | + type: "string" |
| 787 | + const: "LOGGING" |
| 788 | + default: "LOGGING" |
| 789 | + logging_config: |
| 790 | + title: "Logging Configuration" |
| 791 | + type: "object" |
| 792 | + description: "Configurate how the messages are logged." |
| 793 | + oneOf: |
| 794 | + - title: "First N Entries" |
| 795 | + description: "Log first N entries per stream." |
| 796 | + type: "object" |
| 797 | + required: |
| 798 | + - "logging_type" |
| 799 | + - "max_entry_count" |
| 800 | + properties: |
| 801 | + logging_type: |
| 802 | + type: "string" |
| 803 | + enum: |
| 804 | + - "FirstN" |
| 805 | + default: "FirstN" |
| 806 | + max_entry_count: |
| 807 | + title: "N" |
| 808 | + description: "Number of entries to log. This destination is for\ |
| 809 | + \ testing only. So it won't make sense to log infinitely. The\ |
| 810 | + \ maximum is 1,000 entries." |
| 811 | + type: "number" |
| 812 | + default: 100 |
| 813 | + examples: |
| 814 | + - 100 |
| 815 | + minimum: 1 |
| 816 | + maximum: 1000 |
| 817 | + - title: "Every N-th Entry" |
| 818 | + description: "For each stream, log every N-th entry with a maximum cap." |
| 819 | + type: "object" |
| 820 | + required: |
| 821 | + - "logging_type" |
| 822 | + - "nth_entry_to_log" |
| 823 | + - "max_entry_count" |
| 824 | + properties: |
| 825 | + logging_type: |
| 826 | + type: "string" |
| 827 | + enum: |
| 828 | + - "EveryNth" |
| 829 | + default: "EveryNth" |
| 830 | + nth_entry_to_log: |
| 831 | + title: "N" |
| 832 | + description: "The N-th entry to log for each stream. N starts from\ |
| 833 | + \ 1. For example, when N = 1, every entry is logged; when N =\ |
| 834 | + \ 2, every other entry is logged; when N = 3, one out of three\ |
| 835 | + \ entries is logged." |
| 836 | + type: "number" |
| 837 | + example: |
| 838 | + - 3 |
| 839 | + minimum: 1 |
| 840 | + maximum: 1000 |
| 841 | + max_entry_count: |
| 842 | + title: "Max Log Entries" |
| 843 | + description: "Max number of entries to log. This destination is\ |
| 844 | + \ for testing only. So it won't make sense to log infinitely.\ |
| 845 | + \ The maximum is 1,000 entries." |
| 846 | + type: "number" |
| 847 | + default: 100 |
| 848 | + examples: |
| 849 | + - 100 |
| 850 | + minimum: 1 |
| 851 | + maximum: 1000 |
| 852 | + - title: "Random Sampling" |
| 853 | + description: "For each stream, randomly log a percentage of the entries\ |
| 854 | + \ with a maximum cap." |
| 855 | + type: "object" |
| 856 | + required: |
| 857 | + - "logging_type" |
| 858 | + - "sampling_ratio" |
| 859 | + - "max_entry_count" |
| 860 | + properties: |
| 861 | + logging_type: |
| 862 | + type: "string" |
| 863 | + enum: |
| 864 | + - "RandomSampling" |
| 865 | + default: "RandomSampling" |
| 866 | + sampling_ratio: |
| 867 | + title: "Sampling Ratio" |
| 868 | + description: "A positive floating number smaller than 1." |
| 869 | + type: "number" |
| 870 | + default: 0.001 |
| 871 | + examples: |
| 872 | + - 0.001 |
| 873 | + minimum: 0 |
| 874 | + maximum: 1 |
| 875 | + seed: |
| 876 | + title: "Random Number Generator Seed" |
| 877 | + description: "When the seed is unspecified, the current time millis\ |
| 878 | + \ will be used as the seed." |
| 879 | + type: "number" |
| 880 | + examples: |
| 881 | + - 1900 |
| 882 | + max_entry_count: |
| 883 | + title: "Max Log Entries" |
| 884 | + description: "Max number of entries to log. This destination is\ |
| 885 | + \ for testing only. So it won't make sense to log infinitely.\ |
| 886 | + \ The maximum is 1,000 entries." |
| 887 | + type: "number" |
| 888 | + default: 100 |
| 889 | + examples: |
| 890 | + - 100 |
| 891 | + minimum: 1 |
| 892 | + maximum: 1000 |
| 893 | + - title: "Silent" |
| 894 | + required: |
| 895 | + - "type" |
| 896 | + properties: |
| 897 | + type: |
| 898 | + type: "string" |
| 899 | + const: "SILENT" |
| 900 | + default: "SILENT" |
| 901 | + - title: "Throttled" |
| 902 | + required: |
| 903 | + - "type" |
| 904 | + - "millis_per_record" |
| 905 | + properties: |
| 906 | + type: |
| 907 | + type: "string" |
| 908 | + const: "THROTTLED" |
| 909 | + default: "THROTTLED" |
| 910 | + millis_per_record: |
| 911 | + description: "Number of milli-second to pause in between records." |
| 912 | + type: "integer" |
| 913 | + - title: "Failing" |
| 914 | + required: |
| 915 | + - "type" |
| 916 | + - "num_messages" |
| 917 | + properties: |
| 918 | + type: |
| 919 | + type: "string" |
| 920 | + const: "FAILING" |
| 921 | + default: "FAILING" |
| 922 | + num_messages: |
| 923 | + description: "Number of messages after which to fail." |
| 924 | + type: "integer" |
| 925 | + supportsIncremental: true |
| 926 | + supportsNormalization: false |
| 927 | + supportsDBT: false |
| 928 | + supported_destination_sync_modes: |
| 929 | + - "overwrite" |
| 930 | + - "append" |
772 | 931 | - dockerImage: "airbyte/destination-elasticsearch:0.1.0"
|
773 | 932 | spec:
|
774 | 933 | documentationUrl: "https://docs.airbyte.io/integrations/destinations/elasticsearch"
|
|
0 commit comments