Commit 5a5cb8c
Making elasticsearchwriter have no dependency on es availability at startup (#234)
* making elasticsearch client lazy so there is no dependency on startup
* making elasticsearch client lazy so there is no dependency on startup1 parent f70b4c0 commit 5a5cb8c
1 file changed
Lines changed: 12 additions & 12 deletions
File tree
- indexer/src/main/scala/com/expedia/www/haystack/trace/indexer/writers/es
indexer/src/main/scala/com/expedia/www/haystack/trace/indexer/writers/es/ElasticSearchWriter.scala
Lines changed: 12 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
89 | 99 | | |
90 | 100 | | |
91 | 101 | | |
92 | 102 | | |
93 | | - | |
94 | | - | |
95 | 103 | | |
96 | 104 | | |
97 | 105 | | |
| |||
152 | 160 | | |
153 | 161 | | |
154 | 162 | | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | 163 | | |
0 commit comments